Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

IDFCB - Provide FCB with symbolic names

Macro type: type O

The IDFCB macro serves to generate a (Dsect) for the FCB, so that the user can address all the FCB fields symbolically, provided a base register is initialized appropriately.

Format

Operation

Operands

IDFCB

[D]

[,prefix / ,*]

[,PARMOD = 24 / 31]

Operand descriptions

D

This operand specifies that a Dsect statement is to be generated. By default, the system does not generate the macro as a Dsect.

prefix
Prefix (1 character) which is to be inserted in front of all Dsect names; by default, names are generated with the prefix “I”.

*
No prefix will be used.

PARMOD
Specifies the generation mode for the macro.

Default value:

the value preset for the generation mode by means of the GPARMOD macro or by the assembler.

= 24
The macro is expanded in accordance with the format for the 24-bit interface. The object code is thus executable only in 24-bit addressing mode. A Dsect is generated for the “old” FCB (BS2000 <= V8.5); i.e. for the FCB extension, a Dsect must be generated as before by means of the IDFCBE macro (see the macro FCB, "FCB - Define file control block", and IDFCBE macro, "IDFCBE - Provide FCBE with symbolic names").

= 31
The macro is generated as addressing-mode-independent. There is no FCB extension for the new FCB (BS2000 >= V9.0), and therefore no IDFCBE macro is required either.