How to pass return codes from cobol to jcl?

Answer Posted / ashl

Use the return-code variable and set to the desird value

move 16 to return-code

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is difference between cobol and cobol/400

22116


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8664


How to know whether the module is dynamical or statistical?

860


How to remove 2 duplicate records and copy only one using job control language?

966


What is difference between static and dynamic call in cobol?

1016


When is inspect verb is used in cobol?

919


Name the sections present in data division.

896


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9230


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1977


What is the LINKAGE SECTION used in COBOL?

1185


What is cobol?

943


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7290


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

853


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

861


How you can characterize tables in cobol?

917