IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Capturing the LRECL thru JCL..!!


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
indrajitg

New User


Joined: 30 Jan 2008
Posts: 2
Location: Mumbai

PostPosted: Thu Jan 31, 2008 9:56 am
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Jan 31, 2008 11:41 am
Reply with quote

Sounds like a good candidate for a small REXX.

O.
Back to top
View user's profile Send private message
indrajitg

New User


Joined: 30 Jan 2008
Posts: 2
Location: Mumbai

PostPosted: Thu Jan 31, 2008 12:57 pm
Reply with quote

Hi..
Thanks for the quick reply..

I dont want to use REXX.. is it possible through a simple JCL..!!
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Jan 31, 2008 1:02 pm
Reply with quote

JCL is not a programming language. The only thing you can do with JCL is to invoke programs.

O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts WER247A SORTOUT HAS INCOMPATIBLE LRECL SYNCSORT 7
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Rexx log capturing CLIST & REXX 15
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
Search our Forums:

Back to Top