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
 
Problem while writing the code

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

Active User


Joined: 14 Mar 2005
Posts: 124

PostPosted: Thu Dec 01, 2005 9:27 am    Post subject: Problem while writing the code
Reply with quote

HI All,
When i was coding a program , i entered some commands like NUM ON STD COB.
Suddenly waht happen i found my entire code is shifted to the left and i lost all the data of entire 3 columns of the program.
Can any body tell me how can i recover my data as well as what actully happened?

Thanks And Regards
Chandrasekhar


.
Back to top
View user's profile Send private message
References
radhakrishnan82

Senior Member


Joined: 31 Mar 2005
Posts: 386
Location: chennai, India

PostPosted: Thu Dec 01, 2005 11:15 am    Post subject:
Reply with quote

yes.The entire code will be shifted to the left when you issue "NUM ON STD COB".Its the property of the command.

Look at the commands below:
Code:
Seq     Command           Description
STD    NUM ON STD        Sequence number is only in columns 73-80
COB    NUM ON COBOL      Sequence number is only in columns 1-6.
OFF     UNNUM           Sequence number must NOT be in the member.
                                    Don't use NUM OFF (it will leave the seq number).

I am not sure whether you can recover it if you had saved.
Unless issue "cancel" and come out.

hope it helps.
Back to top
View user's profile Send private message
Hames

New User


Joined: 03 Oct 2005
Posts: 49

PostPosted: Thu Dec 01, 2005 12:56 pm    Post subject:
Reply with quote

Hi Friend,

I have also checked when you change it to NUM ON COB the data is lost.

To avoid this, issueing cancel command is the only way.
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