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
 

 

Problem while writing the code

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    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

radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm


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