03.03.2015 Views

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Parameters<br />

Startingposition,<br />

Length, Condition,<br />

Type, Argument<br />

Specifies a condition upon which input records are to be selected <strong>for</strong> copying<br />

and/or printing, and <strong>for</strong>ces deblocking of printed records. If any SEL=<br />

parameters are used, a valid LRECL= parameter must also be specified. The<br />

total number of SEL= parameters may not exceed 20 per run. The SEL=<br />

parameter may be specified on the same statement as other parameters, but<br />

the SEL= parameter must be the last parameter on the statement.<br />

Two SEL= parameters may not be specified on the same statement.<br />

Startingposition<br />

Length<br />

Condition<br />

A 1- to 4-digit number which indicates the starting<br />

position of a field (relative to 1) in the logical record. The<br />

number must be between 1 and 4095.<br />

A 1- to 2-digit number which indicates the length of the<br />

field to be compared. The number must be between 1<br />

and 67.<br />

Must be one of the following:<br />

EQ equal to<br />

NE not equal to<br />

GT greater than<br />

LT less than<br />

NG not greater than<br />

NL not less than<br />

GE greater than or equal to<br />

LE less than or equal to<br />

Type<br />

Argument<br />

"C" if the argument is to be specified in character <strong>for</strong>mat,<br />

or "X" if the argument is to be specified in hex notation.<br />

The hex or character string to be compared to the<br />

specified field in the record. The argument is not<br />

enclosed by apostrophes, and a character string may<br />

contain embedded blanks, commas, and so on.<br />

Note: Record selection <strong>for</strong> copying or printing occurs when any of the<br />

specified SEL= tests is true (<strong>for</strong> example, SEL= tests are treated as a set of<br />

"or" conditions); no "and" specification is possible. The tests are executed in<br />

the order in which they are entered on the input statements.<br />

EOJ= | FEOF=<br />

Startingpos, Length,<br />

Condition, Type,<br />

Argument<br />

The EOJ= and FEOF= parameters can be used interchangeably. Both have<br />

the same <strong>for</strong>mat as the SEL= parameter and may be used to avoid reading<br />

an entire file by specifying the conditions upon which the program is to<br />

terminate. A valid LRECL= parameter and at least one valid SEL= parameter<br />

are required with this parameter.<br />

Chapter 13: DYNCOPY−<strong>CA</strong> <strong>Dynam</strong> File Utility Program 13–3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!