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: 8279
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 Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm
No new posts add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm
No new posts PARSE GDG name to separate generation... Abid Hasan SYNCSORT 2 Sun Feb 11, 2018 3:40 pm
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm
No new posts ROSCOE RPF execution via JCL balimanja CA Products 2 Tue Nov 07, 2017 2:13 am

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