should I use Go back in the main program ? Yes we can use
Go back in main program as well.
Answers were Sorted based on User's Feedback
Answer / sanjeev gupta
We can use goback both in main program and sub program. The
difference is that only, in case of sub program: after the
successful execution the control will pass to main program
whicle in case of main program:the control will pass to OS.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / raj
yes we can use goback in the mainprogram only if it is a
standalone program.
| Is This Answer Correct ? | 4 Yes | 1 No |
I HAVE FOLLOWING DECLARATION. 02. A PIC X(10) VALUE 'XXXXXXXXXX'. 02. B REDEFINES A. 05. C PIC X(3). 05. D PIC X(3). 05. E PIC 9(3). IN MY PROG, I HAVE MOVE 1 TO E. DISPLAY A. WHAT WILL BE DISPLAYED AS A RESULT OF THIS? PLEASE EXPLAIN THE ANSWER. THANKS.
whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?
is it possible to declare index in cobol program? if it is not why its tell me pls
How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed dd name and dd name is not matching with file and soc7 check the sysdump and copy the offest address then correct it in the program.
10 Answers ADP, Amdocs, Cap Gemini, Keane India Ltd, Super Value, TCS,
What are the pertinent COBOL commands?
how to refer the data field?
What is link edit in cobol?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas
what is rediffine clause?in what situation it can use?give me real time example?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How do you code Cobol to access a parameter that has been defined in JCL?