Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you set a return code to the JCL from a COBOL
program?

Answers were Sorted based on User's Feedback



How do you set a return code to the JCL from a COBOL program?..

Answer / 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

How do you set a return code to the JCL from a COBOL program?..

Answer / sudheer kumar

in you cobol program you have to code
move 8 to return-code


from jcl we have to check
if re=8
step12 exec pgm=progname
else
step13 exec pgm=progname3
end-if.

Is This Answer Correct ?    14 Yes 2 No

How do you set a return code to the JCL from a COBOL program?..

Answer / bodasureshreddy

you have to passes the returncode from cobol to jcl

Is This Answer Correct ?    11 Yes 4 No

How do you set a return code to the JCL from a COBOL program?..

Answer / 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

More COBOL Interview Questions

why do u need inspect verb?

3 Answers   Patni,


01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??

1 Answers  


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it

3 Answers   ADP,


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?

0 Answers   IBM,


How is sign stored in Packed Decimal fields and Zoned Decimal fields?

6 Answers   ABC, HCL, TCS,


01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?

5 Answers   Amdocs,


how to convert the recors form vsam file to db2 table tru file aid

0 Answers   TCS,


What is the difference between external and global variables in COBOL?

0 Answers   Winsol Solutions,


how to check whether the open command of a sequential file is successful? or not?

2 Answers   CSC, IBM,


What is an in-line perform ?

4 Answers   Accenture,


How do you differentiate between cobol and cobol-ii?

0 Answers  


Categories