PARSE fields using IFTHEN parameter

PARSE and IFTHEN PARSE are new options that allow you to extract variable position/length fields into fixed-length parsed fields defined as %nn fields. It gives you powerful new capabilities for handling variable fields such as delimited fields, comma-separated values (CSV), tab-separated values, blank-separated values, keyword-separated fields, null-terminated strings, and many other types. The PARSE parameter

PARSE fields using IFTHEN parameter Read More »

JOINKEYS joining two files using SORT

JOINKEYS feature joins transactions/records from two different files based on certain keys (i.e. fields with common information). The SORTJNF1 and SORTJNF2 DD statements were used to specify these files. Each JOINKEYS statement must specify the DDNAME of the file it applies to and the starting position, length, and sequence of the keys in that file. You

JOINKEYS joining two files using SORT Read More »

INCLUDE OMIT condition in SORT JCL

You can use the INCLUDE OMIT statement in conjunction with other options to select/omit the number of records to be processed, which can reduce processor and data transfer time. The INCLUDE and OMIT statements allow you to select records by comparing fields with constants or other fields. Only one INCLUDE/OMIT control statement can be specified

INCLUDE OMIT condition in SORT JCL Read More »

Scroll to Top