Determining how literal values are expressed

The way literal values in the input file are defined in ACIF parameters depends on whether the input file contains ASCII or EBCDIC data.

If the input file is in ASCII for UNIX or Windows or in EBCDIC for z/OS, then the literal values in the FIELD, INDEX, and TRIGGER parameters can be expressed in character data strings. The following example, shows part of a parameter file for ASCII input data. The CCTYPE parameter value matches the type of data in the input file, in this case ASCII. The CPGID parameter indicates a code page for the type of data in the input file. The FIELD, INDEX, and TRIGGER parameters are expressed in character data strings because the input file is ASCII and the operating system is UNIX or Windows. The following is an example of a UNIX or Windows parameter file for ASCII input data:
                                          /* Example phone bill */
                            /* DATA CHARACTERISTICS                          */
CC=yes                                         /* Carriage control used */
CCTYPE=z                                       /* ASCII ANSI carriage controls */
CHARS=42B2                                     /* Coded font */
CPGID=850                                      /* Code page identifier */
                            /* FIELD AND INDEX DEFINITION                    */
FIELD1=13,66,15                                /* Account data field */
FIELD2=0,50,30                                 /* Name data field */
FIELD3=1,50,30                                 /* Address data field */
FIELD4=2,50,30                                 /* City data field */
FIELD5='1'                                     /* Date data field */
INDEX1='Account',FIELD1                        /* 1st index attribute */
INDEX2='Name',FIELD2                           /* 2nd index attribute */
INDEX3='Address',FIELD3                        /* 3rd index attribute */
INDEX4='City',FIELD4                           /* 4th index attribute */
INDEX5='Date',FIELD5                           /* 5th index attribute */
                            /* EXIT AND TRIGGER INFORMATION                  */
TRIGGER1=*,1,'1'                               /* 1st trigger */
TRIGGER2=13,50,'ACCOUNT'                       /* 2nd trigger */
If the input data file is not ASCII in UNIX or Windows or not EBCDIC in z/OS® , then the literal values in the FIELD, INDEX, and TRIGGER parameters must be expressed in hexadecimal strings. The following example, shows part of a UNIX parameter file for EBCDIC input data. The CCTYPE parameter value matches the type of data in the input file, in this case EBCDIC. The CPGID parameter indicates a code page for the type of data in the input file. The FIELD, INDEX, and TRIGGER parameters are expressed in hexadecimal strings because the input file is EBCDIC and the operating system is UNIX or Windows. The following is an example of a UNIX or Windows parameter file for EBCDIC input data:
                                          /* Example phone bill */
                            /* DATA CHARACTERISTICS                          */
CC=yes                                         /* Carriage control used */
CCTYPE=a                                       /* EBCDIC ANSI carriage controls */
CHARS=GT15                                     /* Coded font */
CPGID=037                                      /* Code page identifier */
                            /* FIELD AND INDEX DEFINITION                    */
FIELD1=13,66,15                                /* Account data field */
FIELD2=0,50,30                                 /* Name data field */
FIELD3=1,50,30                                 /* Address data field */
FIELD4=2,50,30                                 /* City data field */
FIELD5=X'F1'                                   /* Date data field */
INDEX1=X'C1838396A495A3',FIELD1                /* 1st index attr (Account) */
INDEX2=X'D5819485',FIELD2                      /* 2nd index attr (Name) */
INDEX3=X'C184849985A2A2',FIELD3                /* 3rd index attr (Address) */
INDEX4=X'C389A3A8',FIELD4                      /* 4th index attr (City) */
INDEX5=X'C481A385',FIELD5                      /* 5th index attr (Date) */
                            /* EXIT AND TRIGGER INFORMATION                  */
TRIGGER1=*,1,X'F1'                             /* 1st trigger (1) */
TRIGGER2=13,50,X'C1C3C3D6E4D5E3'               /* 2nd trigger (ACCOUNT) */