utilExtractMemberInit
Setup the PDS member to extract from.
int utilExtractMemberInit(char pds[44], char member[8], int* lrecl
int* recFM, int* numRecords)
Variable | Function | Description |
---|---|---|
char pds[44] | Input | The source PDS |
char member[8] | Input | The source PDS member |
int* lrecl | Output | The lrecl, or record size for the given PDS. (For VB, this will be the max record size.) |
int* recFM | Output | A Flag representing record format. Choices
are U_RECFM_VB , U_RECFM_FB , and U_RECFM_U . |
int* numRecords | Output | The number of records in the PDS member. Because
this uses ISPF statistics to determine the number of records, the
maximum value is 65535 and this will only be accurate if the statistics
are correct. utilExtractMemberRec returns 1 if out of records,
and should be used to accurately determine when to stop extracting. |
For a value of 65535, the PDS member could actually have more records.