View previous topic :: View next topic
|
Author |
Message |
indrajitg
New User
Joined: 30 Jan 2008 Posts: 2 Location: Mumbai
|
|
|
|
Is it possible for us to capture the record length information of a FB file through JCL? Basically I am looking for-
- there are 2 files (I1 & I2) with different LRECL's (x & y) (I know the LRECL for both files)
- I want to check the RECL of each file in my JCL and based on that copy the file names into 2 members of a PDS (M1 & M2)
- Check the count in above 2 members (M1 & M2) and process the steps accordingly as in if coun(M1 > 0) go to step 1 else skip step 1 and if count(M2>0) go to step2 else skip the step.
I hope the above query is clear. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Sounds like a good candidate for a small REXX.
O. |
|
Back to top |
|
|
indrajitg
New User
Joined: 30 Jan 2008 Posts: 2 Location: Mumbai
|
|
|
|
Hi..
Thanks for the quick reply..
I dont want to use REXX.. is it possible through a simple JCL..!! |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
JCL is not a programming language. The only thing you can do with JCL is to invoke programs.
O. |
|
Back to top |
|
|
|