Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Block automatic increment of line numbers !

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
raveendra_ibm
Currently Banned

New User


Joined: 07 Jan 2006
Posts: 45

PostPosted: Sat Apr 01, 2006 9:20 pm    Post subject: Block automatic increment of line numbers !
Reply with quote

Hi All,

I am doing code changes to an existing code i.e., I am adding a few lines of code to the existing one.
Now whenever I insert a line somewhere in the middle of the code the rest of the line numbers
get automatically incremented. I don't want this to happen.

Doing a 3.13 to the old and new programs should display only those lines of code that were added
by me, instead it shows all the lines where there is change in the line number.

I have tried AUTONUM OFF, etc but it did not work out.

Please help me...

Thanks and Regards,
Raveendra.
Back to top
View user's profile Send private message
References
amitrath

New User


Joined: 30 Apr 2004
Posts: 29
Location: Indianapolis, US.

PostPosted: Sun Apr 02, 2006 6:22 am    Post subject: Re: Block automatic increment of line numbers !
Reply with quote

Hi Raveendra,

You have already used the right command - AUTONUM OFF.
It works at my machine. Can you tell us what happens when you try it?
Back to top
View user's profile Send private message
raveendra_ibm
Currently Banned

New User


Joined: 07 Jan 2006
Posts: 45

PostPosted: Sun Apr 02, 2006 8:20 am    Post subject: Re: Block automatic increment of line numbers !
Reply with quote

Hi Amit !

Thanks for your prompt reply !

Here is how it works on my machine even after AUTONUM OFF.

Existing Code :

Code:
00001200         MOVE A TO B.
00001300         ADD B TO D.
00001400         SUB 10 FROM D.
00001500         DISPLAY A.
00001600         DISPLAY B.
00001700         DISPLAY D.


After Changes :

Code:
00001200         MOVE A TO B.
00001300         ADD B TO D.
00001400         ADD A TO D.                          ----->   NEW LINE
00001500         SUB 10 FROM D.     
00001600         DISPLAY A.             
00001700         DISPLAY B.
00001800         DISPLAY D.


The line numbers after the inserted line gets automatically incremented.

I wanted it this way :

Code:
00001200         MOVE A TO B.
00001300         ADD B TO D.
00001300         ADD A TO D.                          ----->   NEW LINE
00001400         SUB 10 FROM D.     
00001500         DISPLAY A.             
00001600         DISPLAY B.
00001700         DISPLAY D.



I was just wondering if we have any other command that I might have
used accidently thats resulting in AUTONUM OFF not working properly.

Please suggest.

Thanks and Regards,
Raveendra.
Back to top
View user's profile Send private message
iknow

Senior Member


Joined: 22 Aug 2005
Posts: 582
Location: Colarado, US

PostPosted: Mon Apr 10, 2006 6:18 am    Post subject: Re: Block automatic increment of line numbers !
Reply with quote

Hi Raveendra,

First set AUTONUM to OFF. Then try giving UNNUM. It will display the line number from 1,2,3...


In both the existing as well as new one give UNNUM and save those files.

Try comparing now and let us know the result from your side.


Please correct me if I am wrong.
Back to top
View user's profile Send private message
raveendra_ibm
Currently Banned

New User


Joined: 07 Jan 2006
Posts: 45

PostPosted: Mon Apr 10, 2006 3:47 pm    Post subject: Re: Block automatic increment of line numbers !
Reply with quote

Thanks iKnow !!!

But unfortunately I cannot 'save' the previous version of the program, as they are run on production. So UNNUM and saving is not possible. They are just comparing the production version and our(after changes) version straight away.

Thanks and Regards,
Raveendra.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1