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

Problem while writing the code


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Thu Dec 01, 2005 9:27 am
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
radhakrishnan82

Active User


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

PostPosted: Thu Dec 01, 2005 11:15 am
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
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top