IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ROSCOE - Reading the number of the line in RPF


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Jan 10, 2013 5:34 pm
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
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

Moderator Emeritus


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

PostPosted: Thu Jan 10, 2013 8:47 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
Search our Forums:

Back to Top