Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10210
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: 6966
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 syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Updating the counters after eliminati... PANDU1 DFSORT/ICETOOL 12 Mon Nov 21, 2016 9:47 am
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am
No new posts Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us