You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: COBOL Programming Course #1 - Getting Started/COBOL Programming Course #1 - Getting Started.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1227,15 +1227,15 @@ When you are dealing with COBOL on z/OS, you will encounter JCL or Job Control L
1227
1227
1228
1228
For your COBOL program to be executable in z/OS, you will need to tell the operating system to compile and link-edit the code before running it. All of which will be done using JCL.
1229
1229
1230
-
The first thing your JCL should do is to compile the COBOL program you have written. In this step, your program is passed to the COBOL compiler to be processed into object code. Next, the output from the compiler will go through the link-edit step. Here a binder will take in the object code and all the necessary libraries and options specified in the JCL to create an executable program. In this step, you can also tell the JCL to include additional data sets which your COBOL program will read. Then, you can run the program.
1230
+
The first thing your JCL should do is compile the COBOL program you have written. In this step, your program is passed to the COBOL compiler to be processed into object code. Next, the output from the compiler will go through the link-edit step. Here a binder will take in the object code and all the necessary libraries and options specified in the JCL to create an executable program. In this step, you can also tell the JCL to include additional data sets which your COBOL program will read. Then, you can run the program.
1231
1231
1232
-
To simplify things, Enterprise COBOL for z/OS provided three JCL procedure to compile your code. When using a JCL procedure, we can supply the variable part to cater for a specific use case. Listed below are the procedures available to you:
1232
+
To simplify things, Enterprise COBOL for z/OS provides three JCL procedures to compile your code. When using a JCL procedure, we can supply the variable part to cater to a specific use case. Listed below are the procedures available to you:
1233
1233
1234
1234
1. Compile procedure (IGYWC)
1235
1235
2. Compile and link-edit procedure (IGYWCL)
1236
1236
3. Compile, link-edit, and run procedure (IGYWCLG)
1237
1237
1238
-
Since this course is a COBOL course, the JCL necessary for you to do the Labs is provided for you. Therefore, you will encounter the procedures listed above on the JCL. If you want to make a new COBOL code, you can copy one of the JCL provided and modify it accordingly.
1238
+
Since this course is a COBOL course, the JCL necessary for you to do the Labs is provided for you. Therefore, you will encounter the procedures listed above on the JCL. If you want to create a new COBOL program, you can copy one of the JCL provided and modify it accordingly.
1239
1239
1240
1240
To read more on JCL, visit the IBM Knowledge Center:
0 commit comments