Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Capturing the LRECL thru JCL..!!

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Capturing the LRECL thru JCL..!!
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: 2360
Location: Israel

PostPosted: Thu Jan 31, 2008 11:41 am    Post subject:
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    Post subject: Reply to: Capturing the LRECL thru JCL..!!
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: 2360
Location: Israel

PostPosted: Thu Jan 31, 2008 1:02 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm
No new posts SORT Format should be RECFM=VB,LRECL=350 senthamizh SYNCSORT 8 Fri Jan 15, 2016 8:20 pm
No new posts Concatenate different LRECL GDG's Rohit Umarjikar DFSORT/ICETOOL 6 Wed Nov 18, 2015 3:30 am
No new posts Capturing Cobol Program Displays luis_pr TSO/ISPF 1 Wed Jun 03, 2015 5:01 am
No new posts Does SORT provide LRECL in programming? jacobdng DFSORT/ICETOOL 5 Fri Mar 20, 2015 12:50 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us