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
 

 

ROSCOE - Reading the number of the line in RPF

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
alfgomesc

New User


Joined: 14 Apr 2005
Posts: 5
Location: S?o Paulo - Brasil

PostPosted: Thu Jan 10, 2013 4:58 pm    Post subject: ROSCOE - Reading the number of the line in RPF
Reply with quote

Hi, Guys. I have a problem...

I make 'n' changes in a rpf. It terminates with linhas (and the line sequence obtained) as below :

000021 IEFBR14
000038 BRBP611
000070 SORT
000103 BRBP612
000124 BRBP614

I need get the line (sequence) informed. For example : the first line it´s sequenced as '000021' . How can I get this information (line telling me that the first statement it´s on line '21' to pass to a variable (for example). This way i can 'connect' one string (iefbr14) and where is in the aws (line 21). I don´t know if I explained clearly, but i Hope so... Thanks for any help.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7935
Location: Bellevue, IA

PostPosted: Thu Jan 10, 2013 5:34 pm    Post subject:
Reply with quote

Have you checked the ROSCOE Reference Summary manual? There's a comprehensive list of variables near the back of the manual. One of the AWS variables is S.SEQ which gives the current line number. If your site is licensed for CA-ROSCOE, you have access to the manuals -- via internal web link, hard copy, or by getting them downloaded from the CA support web site.
Back to top
View user's profile Send private message
alfgomesc

New User


Joined: 14 Apr 2005
Posts: 5
Location: S?o Paulo - Brasil

PostPosted: Thu Jan 10, 2013 5:47 pm    Post subject:
Reply with quote

Hi, Robert. My apologies. You´re right. I knew the SEQ variable, but I didn´t understand this possibility. Very thanks for your help!
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jan 10, 2013 8:47 pm    Post subject:
Reply with quote

Hello,

There is also online HELP within ROSCOE.

For starters try HELP HELP for a bit of an overview and HELP COMMAND for a list of the help members.
Back to top
View user's profile Send private message
alfgomesc

New User


Joined: 14 Apr 2005
Posts: 5
Location: S?o Paulo - Brasil

PostPosted: Fri Jan 11, 2013 6:35 am    Post subject:
Reply with quote

Thanks a lot again, folks!
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts Casting a Binary Number to Numeric in... Bob Steinkraus Java & MQSeries 6 Tue Aug 09, 2016 5:58 pm
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm


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