How do you set a return code to the JCL from a COBOL
program?
Answer Posted / suresh . e
01 RETURN-CODE-OUT PIC S9(09) USAGE COMP.
01 RETURN-CODE-IND PIC S9(04) USAGE COMP. first
declaration is to define the variable for return
code.Second declaration is for defining a Null indicator.
Is This Answer Correct ? | 0 Yes | 14 No |
Post New Answer View All Answers
In COBOL, what is the different between index and subscript?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How many bytes S(8) comp field occupy and its maximum value?
What is amode(24)?
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?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is the difference between comp and comp-3?
How to print 10 to 1 if the input have only 10 digit number?
What is the difference between PIC 9.99 and 9v99 in COBOL?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What is the difference between goback, stop run and exit program in cobol?
How do you define a variable of comp-1 and comp-2?
What is length is cobol?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?