When you interface a batch program with the operating system, CA Datacom/DB is mainline and your program is a subroutine of CA Datacom/DB.
You must link edit a User Requirements Table (URT) with your program. The DBXHVPR module (host variable processor) must be link edited with your program in addition to the User Requirements Table. DBXHAPR is required if using Dynamic SQL in a COBOL program.
The linkage editor ENTRY BEGIN statement indicates CA Datacom/DB is mainline. CA Datacom/DB calls your program at default entry point DBMSCBL.
Batch Program Execution
After the program has been link edited with the CA Datacom/DB interface, it may be executed.
|
Copyright © 2014 CA.
All rights reserved.
|
|