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

Updating Sequence number for specified number of lines


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Wed Jul 08, 2009 4:08 pm
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
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: 6965
Location: porcelain throne

PostPosted: Wed Jul 08, 2009 4:38 pm
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
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 All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Identify Number of Multivolume Dataset All Other Mainframe Topics 5
No new posts Comment Lines getting in the way when... JCL & VSAM 0
No new posts Comment multiple lines in JCL for Tem... JCL & VSAM 4
No new posts Mark Previous & next lines when a... DFSORT/ICETOOL 9
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:


Back to Top