View previous topic :: View next topic
|
Author |
Message |
Lavanya_Dhushetty Warnings : 2 New User
Joined: 30 Aug 2007 Posts: 24 Location: Chennai
|
|
|
|
When the input file is empty you would always want your COBOL program to end with MAXCC = 4. How would you achieve this?
a. We cannot set return code through COBOL Program
b. None of the listed option
c. MOVE 04 TO MAXCC
d. MOVE 04 TO LASTCC
e. MOVE 04 TO RETURN-CODE |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Lavanya_Dhushetty wrote: |
These are the questions I have collected from prevoius papers.Some answers in this papers are not correct so I want it them to be clarified by this forum ... |
Why don't you include the answer in the paper and your guess along with the questions? |
|
Back to top |
|
|
kgumraj2
New User
Joined: 01 Aug 2007 Posts: 42 Location: Hyderabad
|
|
|
|
Hi,
In cobol RETURN-CODE is the register, use
Code: |
MOVE +04 TO RETURN-CODE. |
|
|
Back to top |
|
|
Lavanya_Dhushetty Warnings : 2 New User
Joined: 30 Aug 2007 Posts: 24 Location: Chennai
|
|
|
|
Thanks for the reply |
|
Back to top |
|
|
|