Non-Zero Return Codes

If ACIF receives a non-zero return code from any exit program, ACIF i message 0425-412 and terminates processing.

Attributes

of the

Input Print

File

 

 

 

ACIF provides information about the attributes of the input print file

 

structure available to ACIF’s user exits. Figure 18 shows the format of

 

structure.

 

 

 

 

 

 

 

typedef struct _PFATTR

/\ Print File Attributes

\/

 

{

 

 

 

 

 

char

cc[3];

/\ Carriage controls? - "YES" or "NO "

\/

 

char

cctype[1];

/\ Carriage control type - A(ANSI), M(Machine), Z(ASCII) \/

 

char

chars[2ð];

/\ CHARS values, including commas (eg. GT12,GT15)

\/

 

char

formdef[8];

/\ Form Definition (FORMDEF)

\/

 

char

pagedef[8];

/\ Page Definition (PAGEDEF)

\/

 

char

prmode[8];

/\ Processing mode

\/

 

char

trc[3];

/\ Table Reference Characters - "YES" or "NO "

\/

 

} PFATTR;

 

 

 

 

 

 

 

 

 

Figure 18.

Sample Print File Attributes C Language Header

 

 

 

The

address

of the control block

containing the following parameters is

 

the user exits:

 

 

cc (Bytes 1–3)

 

 

 

 

 

 

 

 

 

The

value

ofcc

theparameter

as

specifiedacif

oncommandthe. ACIF uses

the

default

value

if this

parameter is not

explicitly

specified.

cctype

(Byte

4)

 

 

 

 

 

 

 

 

 

The

value ofcctypethe parameter

as specifiedacif oncommandthe. ACIF

uses

the

default

value

if

this

parameter is

not explicitly specifi

chars

(Bytes

5–24)

 

 

 

 

 

 

 

 

The

value ofcharsthe parameter as specifiedacif oncommand,the including

any

commas

that separate

multiple

font

specificationschars .

Because the

parameter has no default value, this field contains blanks if no valu specified.

formdef

(Bytes

25–32)

 

 

 

 

 

 

 

 

 

 

 

The

value

offormdefthe

parameter

as

specifiedacif

oncommandthe.

 

 

Because

 

theformdef

 

 

parameter,

has

no default

value,

this

field

contains

blanks

if

no

value is specified.

 

 

 

 

 

pagedef

(Bytes

33–40)

 

 

 

 

 

 

 

 

 

 

 

The

value

ofpagedefthe

parameter

as

specifiedacif

oncommandthe.

 

 

Because

 

thepagedef

 

 

parameter

has

no

default

value,

this

field

contains

if

no

value

is

specified.

 

 

 

 

 

 

 

 

prmode

(Bytes

41–48)

 

 

 

 

 

 

 

 

 

 

 

The

value

ofprmodethe

parameter

as

specifiedacif

oncommandthe.

 

 

Because

 

theprmode

 

 

parameter

has

no

default

value,

this

field

contains

if

no

value

is

specified.

 

 

 

 

 

 

 

 

74 ACIF User’s Guide

Page 94
Image 94
IBM S544-5285-01 manual Non-Zero Return Codes, Cc Bytes, Chars Bytes, Sample Print File Attributes C Language Header