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: 8165
Location: East Dubuque, Illinois, 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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 3 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Profile changed to NUMBER ON STD (fro... Martylin TSO/ISPF 1 Thu Aug 03, 2017 9:14 am
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm

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