If we use GO BACK instead of STOP RUN in cobol?
Answers were Sorted based on User's Feedback
Answer / girish kumar
if the program doesn't consists of call statement we can use
eaither goback or stoprun to terminate the program.
But if program having the call statement
We have to use GOBACK for SUB-PROGRAM
STOPRUN for MAINPROGRAM
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / chaitanya chandana
if u use goback() it will back to the main program....But were as stoprun() it wil shows the end of the main program..
if there any mistake plz correct me.
| Is This Answer Correct ? | 6 Yes | 0 No |
If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.
01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?
What are the different rules for performing sort operation?
If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please
What is normalisation?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
Explain what you understand by passing by value.
What is the difference between next sentence and continue in cobol programing language?
Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error