• Keine Ergebnisse gefunden

peL and !SET Output Options

Im Dokument APPLICATION PROGRAMMER HANDBOOK (Seite 160-165)

A subset of PCl options are of particular importance to the user of magnetic tapes. A similar subset of the IBEX SET command options perform many of the same functions, but the PCl and SET command options do have differences.

These options are summarized below.

ISET Command Options

SET command options related to the use of tape are shown in the following tables. For more information, see CE40, Programmer Reference manual, or use HELP:

HELP (IBEX) SET OPS option For example,

HELP (IBEX) SET OPS SPANNED

CE55-01 MODULE 6-2 Page 130

Tape Commands, Options, and Calls

Option

Establishes associated accounts and their permissions.

Defines how file access will occur: sequentially,

Controls packing of logical records into physical tape records.

Defines the file organization; distinguishes between ANS, EBCDIC, managed free, and free tape.

Specifies the accounts that may read but not write the file.

Specifies maximum record length.

Specifies a list of tape serial numbers.

Determines whether logical records may be divided between physical tape records.

Specifies the file type.

Option

XTEND

PCl Input Options

!SET Options (Tape) (cont.)

Description

Determines the position for CREATE opens of LabeLed tape.

The foLLowing PCl input options appLy to tapes. AdditionaLLy, options that appLy to CP-6 fiLes wiLL aLso appLy to files on tape when appropriate. For more information, see CE40, Programmer Reference manuaL, or use HELP:

HELP (PCl) INOPS option For exampLe,

HELP (PCl) INOPS DEOD

PCl Input Tape Options

Option Description

BINARY Specifies that any read operation from a free tape (FT) is to interpret data as binary. The

defauLt is NBINARY (see the NBINARY option).

BLOCK Specifies the bLock length for input from free tape.

DEOD Specifies that aLL fiLes in a free tape (FT) are to be read as if there were onLy one fiLe untiL two consecutive tape marks (EODs) are encountered.

EBCDIC Specifies that tape fiLe LabeLs and records read from free tape (FT) be transLated

from EBCDIC to ASCII. The defauLt is no transLation.

FSN=(n-m) Specifies that fiLes n through m are to be read

sequentiaLly from a tape. The vaLue of m must exceed the vaLue of n, and both must be between 1 and 9999.

FSN may not be specified if a fiLename or range is incLuded in the source parameter. If m is omitted, onLy fiLe n is assumed.

FTORGANIZATION Specifies the input fiLe organization for free tape.

Organization may be FREE, UNDEFINED, FIXED, or VARIABLE. The defauLt is FREE.

NBINARY Specifies that any read operation from a free tape (FT) is to interpret data as character

rather than as binary. The default is NBINARY. (See the BINARY option.)

NBlOCKED Specifies that the input free tape is not bLocked.

The defauLt is bLocked.

CESS-01 MODULE 6-2

Tape Commands, Options, and CalLs

Page 132

Option

NCNVRT

NSPANNED

ORGANIZATION

PHYSICAL

REClENGTH

TRANSPARENT VOLUME

PCL Output Options

pel Input Tape Options (cont.)

Description

Specifies EBCDIC data read from EBCDIC tapes is not to be transLated into ASCII. The defauLt is transLation.

Specifies that the input free tape is not spanned.

If unspecified, it is assumed to be spanned.

Specifies that onLy fiLes of certain organizations are to be seLected.

Determines how the range specification of fiLe names wiLL be interpreted. Specifies that a range of fiLe names in a source parameter is to be interpreted physicaLLy; this onLy appLies to LabeLed tape. PCl positions to the first fiLe in the range specification and then consecutiveLy accesses fiLes untiL the second fiLe in the the range specification is Located

and accessed.

If PHYSICAL is not specified, aLL fiLes whose fiLenames are aLphabeticaLLy between the two fiLenames in the range specification are accessed.

Specifies the LogicaL record Length for input from managed free tape.

Specifies input without transLation.

Specifies which voLume of a tape set is to be accessed initiaLLy. The vaLue can range from 1 to 511.

The foLLowing PCl output options appLy to tapes. AdditionaLly, options that appLy to CP-6 files will also appLy to files on tape when appropriate. For more information, see CE40, Programmer Reference manual, or use HELP:

HELP (PCl) OUTOPS option For example,

HELP (PCl) OUTOPS DENSITY

CE5S-01 MODULE 6-2 Page 133

Tape Commands, Options, and Calls

Option

Specifies the tape recording density. Valid densities are: 800, 1600, 6250, or 556 (valid for 7T only).

Specifies the maximum number of additional tape volumes that can be accumulated as part of the volume set. thus limiting each record. Records exceeding this length are truncated. All variable record length TAPE formats include control information bytes with the data record.

Specifies input without translation.

Specifies volume access mode.

MODULE 6-2 Page 134

Tape Commands, Options, and Calls

Option

VOLUME

XTEND

pel vs SET

PCl Output Tape Options (cont.)

Description

Specifies which reel in a multi-volume tape set is to be accessed initially. Valid only for labeled tape.

Prevents overwrite of other files on the tape by writing the new output file at the end of the labeled tape set. If unspecified, the write occurs at the current tape position. Valid only for labeled tape.

As can be seen from the above tables, PCl and SET options are sometimes

similar, but not identical. For example, block length in !SET is BlKli in PCl it is BLOCK. The following examples show the same options in !SET and PCl:

SET: !SET INFIlE FT#1234, ORG=FIXED, RECl=20, BlKl=60 PCl: !COPV FT#1234(FTORG=FIXED, RECl=20, Bl=60)

Im Dokument APPLICATION PROGRAMMER HANDBOOK (Seite 160-165)