Hi Kolusu, and thanks for looking into this.
1. No, these are two different records, with different parameters on them. They are both MSG004CI, but have different data fields. I tried to show just two with the shortest and the longest length. Each message is one line with: time Jobnum jobname Msgkey - "Program Parm" type date , runtype() location numeric-code

2. The input is a FB file of 150, and these records are just space padded. The other log records in the file are of all different lengths, with some using the whole 150.

Thank you and best regards,
Billy Ashton


------ Original Message ------
From "Sri h Kolusu" <[email protected]>
To [email protected]
Date 10/19/2022 8:57:22 PM
Subject Re: Variable Sort Parsing

This will be fed into another reporting program to generate different reports, 
along with other operational data. Here are the two basic kinds of formats:
 01.34.15 JOB47986  PAYW015A MSG004CI - PROGRAM PARM SCHEDULED: 20221008, 
RUNTYPE(WEEKLY) ALLSITES  10.4
>> 01.34.15 JOB47986  PAYW052X MSG004CI - PROGRAM PARM REQUEST: 20221012,
RUNTYPE(DAILY) OH03  10.6

Hi Billy,

You have the right idea of using PARSE in DFSORT to extract the data. However, 
I need a few more details.

1.  The sample input that you have shown for EACH MSG004CI is split into 2 
records. Is that right ?  If so, can there be a single line message for 
MSG004CI ?
2.  What is the LRECL and RECFM of the input file?

Thanks,
Kolusu
DFSORT Development
IBM Corporation

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to