Previous Topic: OPARLGCR ParametersNext Topic: OPARLGCR Return Codes


Returned Data

OPARLGCR returns to the caller a return code and information about the created OPSLOG archives if the second parameter was specified. The information about the OPSLOG archives that were created is returned as shown below. Each OPSLOG archive successfully created returns a text string followed by a tilde. The following words are returned:

This information includes a total of 11 words without the tilde. All dates are in the yyyy/mm/dd format. To split this text string, use the following REXX code excerpt:

do while archive_info <> " "
  parse value archive_info with ,
    data set_name create_date create_time firstrec_date firstrec_time
    lastrec_date lastrec_time total_recs ops_subsys mvs_smfid jobname,
    "~" archive_info
    /*   do whatever is needed with the data   */
end   /*   do while archive_info <> " "   */