How do you set a return code to the JCL from a COBOL
program?
Answer Posted / suresh
Move a value to RETURN-CODE register. RETURN-CODE should
not be declared in your program.
MOVE 4 TO RETURN-CODE
| Is This Answer Correct ? | 34 Yes | 4 No |
Post New Answer View All Answers
What are literals?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
what is difference between cobol and cobol/400
Write some characteristics of cobol as means of business language.
what are decleratives in cobol?
Write a program to enter and display the names of students in a class using the occurs clause.
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is static and dynamic call in cobol?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What are the different rules for performing sort operation?
What is difference between static and dynamic call in cobol?
How you can read the file from bottom?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.