Q.1 how to implement the commitment control.
2.how to control commitment control from external program.
Answer Posted / manoj kumar
Above answer is correct but there is one step missing -
1. CRTJRNRCV
2. CRTJRN
3. STRJRN
4. STRCMTCTL (in CL program)
5. Declare file with keyword COMMIT and in program use
Commit and Rollback based on processing logic (i.e. after
successful execution use Commit and when invoked exception
handling then use rollback).
6.ENDCMTCTL
Cheers Again!!!
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is the interactive job? What is the batch job?
What is the interactive job? What is the batch job? How to change the batch job to interactive job?
What is FORMAT keyword and its use?
What is the difference between access path and open data path?
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
What is open data path?
Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?
What is the batch job?
What is the purpose of the chain and setll and setgt?
How to change the batch job to interactive job?
How to retrieve a physical file after deleting that?
What is the primary file?
What is the use of member in pf?
How to update physical file using logical file with example?
How many maximum record format a logical file have?