Submitting a compile request with a copybook
Use the Parameterized Build > Upload Copybook Member to Host and Parameterized Build > Compile requests to submit a COBOL program to the z/OS® system for compiling with a copybook.
Before you begin
About this task
Procedure
To submit a Parameterized Build > Upload Copybook
Member to Host request for a program with a copybook,
do these steps:
- Expand the project containing the sample programs.
- Edit copyone.cpy as needed.
- Right-click copyone.cpy and click Parameterized
Build > Upload Copybook Member to Host.A message window shows the upload request is executing.
- Verify the copybook member is uploaded in USERID.XCOPYLIB(COPYONE).
- Right-click pbtest2.cbl and click Parameterized Build > Compile.
- Right-click the project name and click Refresh to verify the output for the build request.
Results
9 //* ------------------------------------------------------------------
10 //UPLOAD EXEC PGM=IEFBR14
11 //* ----
12 //* ---- IEFBR14 - Upload and Allocate Copybook Files
13 //* ----
14 //UPLD1 DD DSN=JHUANG.XCOPYLIB(COPYONE),RCCEXT=CPY,
15 // DISP=SHR