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 the different open modes available in cobol?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What are literals?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
In COBOL programming, what is PERFORM? What is VARYING?
Are you comfortable in cobol or jcl?
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.
What are various search techniques in cobol? Explain.
What is rmode(any) ?
Why would you use find and get rather than to obtain?
How to print 10 to 1 if the input have only 10 digit number?
For rewrite, why is it mandatory that file needs to be opened?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.