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

What is the difference beetween Arrays and Tables in Cobol? please dont give the answer that arrays in cobol terminology is called tables......

3 Answers   BirlaSoft,


If you were passing a table via linkage, which is preferable - a subscript or an index?

3 Answers   TCS,


what is call by value and call by reference ?

3 Answers   Infosys, ITC Indian Tobacco Company,


which one is the best of com and com-3.using of real time ?

7 Answers   Cap Gemini,


What is SSRANGE, NOSSRANGE ?

5 Answers  


Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?

2 Answers   TCS,


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

0 Answers  


What is a scope terminator? Give examples.

2 Answers  


what is index and how to use two tables using index?

1 Answers  


How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.

5 Answers  


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


What is different between variable length and fixed length?

2 Answers   TCS,


Categories