Hi,
Where can I find the field definitions for C APIs?
For example - stat();
The IBM knowledge centre tells you about the API and the fields but not how to specifically define them; https://www.ibm.com/support/knowledg.../apis/stat.htm.
I am confused about st_objtype (when using the ifsio_h copybook) as it's defined differently across 3 examples;
http://www.scottklement.com/rpg/copy...io_h.rpgle.txt has it defined as 11a
https://www.scottklement.com/rpg/ifs_ebook/stat.html has it defined as 12a
https://www.fieldexit.com/forum/display?threadid=446 has it defined as 10a
There must be something somewhere I can check to see exactly how the fields are defined?
I often wonder this cause I end up having to google examples to get definitions for APIs rather than being able to find them on the IBM knowledge centre.
Basically this question spawned over the fact st_objtype has a null on the end when defined as 11a;
I am guessing if it was defined as 10 it wouldn't but, as it's a data structure, I guess defining it short would shift the data across or something causing issues elsewhere...
Cheers,
Ryan
Where can I find the field definitions for C APIs?
For example - stat();
The IBM knowledge centre tells you about the API and the fields but not how to specifically define them; https://www.ibm.com/support/knowledg.../apis/stat.htm.
I am confused about st_objtype (when using the ifsio_h copybook) as it's defined differently across 3 examples;
http://www.scottklement.com/rpg/copy...io_h.rpgle.txt has it defined as 11a
https://www.scottklement.com/rpg/ifs_ebook/stat.html has it defined as 12a
https://www.fieldexit.com/forum/display?threadid=446 has it defined as 10a
There must be something somewhere I can check to see exactly how the fields are defined?
I often wonder this cause I end up having to google examples to get definitions for APIs rather than being able to find them on the IBM knowledge centre.
Basically this question spawned over the fact st_objtype has a null on the end when defined as 11a;
Code:
EVAL stats.st_objtype : x 11 5CC4C9D9 40404040 40400000 04E404E4 - *DIR .
Cheers,
Ryan
Comment