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.

Defining File ID Option Codes<br />

Defining File ID Option Codes<br />

You can specify one-character file ID option codes as part of the JCL's DLBL<br />

statement to indicate the disposition of a file. Option codes must be the last<br />

field specified in the file ID and must be enclosed within parentheses. Multiple<br />

option codes can be entered in any sequence within the parentheses, but must<br />

be separated by commas as follows:<br />

Format:<br />

// DLBL filename,'file-id(option codes)',...<br />

Example,<br />

// DLBL FNAME,'DISK.FILE(A,B,C)'<br />

<strong>CA</strong> <strong>Dynam</strong>/D eliminates the option codes and the parentheses from the file ID<br />

be<strong>for</strong>e passing the file to IBM OPEN (this occurs <strong>for</strong> both <strong>CA</strong> <strong>Dynam</strong>/D and<br />

non-<strong>CA</strong> <strong>Dynam</strong>/D controlled files).<br />

Syntax Conventions<br />

Syntax conventions are listed below:<br />

• Separate option codes with a comma.<br />

• Allow no intervening blank spaces.<br />

• Enclose option codes within parentheses.<br />

• Any syntax error found causes all option codes to be ignored.<br />

• The file ID cannot be greater than 59 characters, including the option code<br />

characters.<br />

Common Syntax Errors<br />

If <strong>CA</strong> <strong>Dynam</strong>/D encounters a syntax error while processing the option codes,<br />

the parentheses and option codes are not eliminated from the file ID; <strong>CA</strong><br />

<strong>Dynam</strong>/D treats it as part of the file ID. Some examples of syntax errors<br />

follow:<br />

Extra comma between option codes<br />

// DLBL FN,'FILE(S,,A)'<br />

Missing comma between option codes<br />

// DLBL FN,'FILE(BCD)'<br />

4–14 <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!