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
 
Updating Sequence number for specified number of lines

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Habeeb Shaik

New User


Joined: 29 Aug 2005
Posts: 10

PostPosted: Wed Jul 08, 2009 3:58 pm    Post subject: Updating Sequence number for specified number of lines
Reply with quote

Hi,

I have hundred lines of code in COBOL say. I want to update all hundred lines with sequence number[column 72-80] as my project code. Do we have any tso command to achieve this.

If available plz provide the command.

Thanks,
Shaik.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Wed Jul 08, 2009 4:08 pm    Post subject: Reply to: Updating Sequence number for specified number of l
Reply with quote

the standards for cobol language is to have sequence numbers in 1-6 columns

anyway learn about the ISPF NUMBER and RENUM commands
Back to top
View user's profile Send private message
Habeeb Shaik

New User


Joined: 29 Aug 2005
Posts: 10

PostPosted: Wed Jul 08, 2009 4:35 pm    Post subject:
Reply with quote

sorry i was talking about 73-80 columns not 1-6.

can anybody provide me the command for this.

thanks.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Jul 08, 2009 4:38 pm    Post subject:
Reply with quote

first of all, it is 73 80. 72 is a valid cobol column
label the first of your change records as .a
label the last of your change records as .b

chg all .a .b 73 80 P'========' '<your 8 chars worth of project code>'
Back to top
View user's profile Send private message
Habeeb Shaik

New User


Joined: 29 Aug 2005
Posts: 10

PostPosted: Wed Jul 08, 2009 5:05 pm    Post subject:
Reply with quote

THANKS DUDE...
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 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 Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm

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