Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8416
Location: Dubuque, Iowa, USA

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 mainframe job spool while the... jilumudi_manohar JCL & VSAM 7 Wed Jan 09, 2019 9:48 am
No new posts Add week number to a file name or rep... tejdeep0274 JCL & VSAM 2 Thu Jan 03, 2019 6:49 am
No new posts How to count the number of times key ... vnktrrd DFSORT/ICETOOL 14 Thu Nov 15, 2018 9:19 pm
No new posts Accessing control blocks to retrieve ... menonkiran COBOL Programming 5 Wed Nov 14, 2018 9:08 pm
No new posts Error reading file in REXX module ashek15 CLIST & REXX 3 Wed Oct 24, 2018 4:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us