Deepakgoyal2005
New User
Joined: 22 Mar 2007 Posts: 57 Location: India
|
|
|
|
My input Flat file is created with different RL daily.
I want to calculate the record length of the Flat File in the JCL and drive the following steps based on the output.
For Example:
On a day, the RL of the Flat file is 200.
My JCL should give the output as 200 and set the return code accordingly so that based on the return code i can conditionally execute the following steps.
I had tried with IDCAMS utility with LISTCAT in the SYSIN, but it do not give the record length of the file. The RL is provided by the INFO line command. Can we capture the output of the INFO command in a file as we can do with LISTCAT by following command in SYSIN:
Code: |
LISTCAT ENT('DEAR.D08950XX.HCCS.FFB.TICKET') ALL |
|
|