IEBPTPCH :: Merge PDS Members in a PS File.


IBM provides a utility, IEBPTPCH, to merge members of PDS (Partitioned Dataset) into a PS (Physical Sequential) file. However the sole purpose of this utility is to Print or Punch all or part of datasets (PS or PDS). So we will be needing at least one statement i.e. either PRINT or PUNCH in the sysin card. Since we are merging PDS members we will be specifying TYPORG=PO along with PRINT or PUNCH statements. TYPORG=PO indicates that the input dataset is ...

PS File Record Format :: Fixed block or Variable block?


Most commonly used file formats for a PS file are Fixed Block (FB) & Variable Block (VB). At times when we are uncertain of the file format, we can easily deduce that using LISTDS command with IKJEFT01 utility in JCL. LISTDS will list all the attributes for e.g. Record Format,Record length etc.  of the dataset you input with LISTDS command.

IGYWCLG :: COBOL File handling in JCL SYSIN Card.


In previous post we have seen how to execute a COBOL program (Add 2 numbers) in JCL Sysin Card. This post is concentrating more on how to accomplish a complex task for e.g. File handling using IGYWCLG. All we got to do is – write your COBOL program which handles certain files in COBOL.SYSIN. Only thing which differs is the way to write DD names for input & output files.

Run a COBOL program through JCL SYSIN Card :: IGYWCLG utility.


Many a times, we require to write a COBOL program for testing purpose. For that we write the COBOL program then we write a Compile JCL and then Run JCL. However this can be done in a simple JCL Step by using IGYWCLG utility. What it does is, it takes COBOL statements as input in SYSIN card and when you submit the JCL it compiles,link-edit and runs those COBOL statements.