IBM
Page
IBM
Edition
1999
Contents
VSE
MVS
Helpful Hints
File
Print Services Facility PSF for . OS/390
Glossary
Vii
VSE
Viii Acif User’s Guide
Trademarks
Programming Interfaces
Disclaimer
SUN
Unix
IOB
Insertimm
Userlib
Apar
APK252I Apar
APK343I Apar
APK345I Apar
Why Should I Read This Publication?
What Do I Need To Know?
Xiii
MVS VSE AIX Acif
MVS VSE
Ascii
MVS
What Terms Are Used In This Publication?
Library AIX
Related Information
Understanding Syntax Notation
Highlighting
Member
Notational Conventions
Examples
VSE
Part 1. Information Common to AIX, OS/390, MVS
Acif User’s Guide
What Can I Do with ACIF?
How Acif Fits into Advanced Function Presentation
Using Acif for Different Tasks
Using Acif to Prepare Files for Viewing
AFP
Using Acif to Prepare Files for Distributed Printing
Transfer
PSF
Acif
BDT/EDT
Content Architecture Reference
Tasks You Can Do with Acif
Presentation
Programming Guide and Line Data Reference
Line Data Reference
ForIBM AIX,Page referPrinter to Formatting
Indexing With Data Values
Literal Values
With Literal
Example Bank Statement Input File
Acif Processing Parameters to Index the Bank Statement
Goca, ioca Orrestype=all
PDS
What Other IBM Products are Related to ACIF?
Workbench Viewer
AFP Toolbox for Multiple
Operating Systems
For
System Limitations
Considerations
PSF
Installpsf.base
System Prerequisites
Theformdef
Thepagedef
VSE Prerequisites
Acif User’s Guide
Part 2. Using Acif in the AIX Environment
Acif User’s Guide
Purpose
Syntax
Acif
Ovlylib=pathlist
Description
Isnot
Ovlylib
Font
For
Font Collection
You can use Acif to prepare S/370 line Data Unformatted
Files
Flag Keyword-value Pair With One
To specify Job Script Wit
Flags and Values
Chars= fontname1, fontname2, fontname3, fontname4
IBM AFP
Fontname2
TRC
Comsetup= name
Objconlib
Field16 .
Fdeflib= pathlist
Directory/usr/lpp/psf/reslib
Error Condition Terminates Processing
Record Specifies Relative
Literal valueX literal value
Isanything Other
As the default
Record
Record, n
RDW
Print Services Facility for AIX Print . Administration
Stream, newline=X nn
Ifnewline
Fontlib= pathlist
35in
Index
Index1
Imageout=asis
Asis
Name,field n ,field n
Field Field n
Filename Specifies Name Full Path Name for Index ob When
Name For Index Object f
Field
Indexobj=group all none
Indexstartby=1 nn
Input. I fileyou specify
Variable You Not Specify
Inputdd= filename
Insertimm=yes
39in
Usr/lpp/psf/bin/asciinpe
Filename Specifies
Programname Specifies
Output File Into your Current Directory
Not Spe
Print referServices to Facility For AIX Administration
Pagedef= pdefname
Parmdd=
Pdeflib= pathlist
SOSI1
Chars
Pseglib= pathlist
Theacif
Pseglib
Reslib= pathlist
Respath
Fdef
Pseg
Ovly
Font
Trc=yes no
Trigger n = record
Trigger Value X trigger value
Trigger1
Instructs Acif Scan Every Record
Looking
‘ACCOUNT’
‘PAGE
Orfield n
Userlib= pathlist
Fontlib
Orpseglib
370 Line
Trc=yes
IBM AFP
Implementation Specifics
Files
NLS Messages
Suggested Reading
Acif User’s Guide
AIX
Example of a Customer’s Telephone Bill
Input File
Input
Specifying Acif Processing
Line-Data Telephone Bill
File With
Data
Parmdd
Example of a Parameter File for Ascii Input Data
To create the indexing tag for
Data
Input Data
Parameters
Specifying Acif Processing
Trigger1 = \,1,XF1
Field3
Field1
Field2
Values
Literal
Must
As axeb Oriconv
Running the Acif Job
Acif Output
Determining the Form
Definition
Transferring the Document
Accessing the Document
Workstation
Mounting
Workstation
Cd AIXdirectoryname
Attributes
User Programming Exits
For AIX Print Administration
Exit
Input Record
Work Bytes
Record Bytes
Reserved1 Bytes
Recordln Bytes
Reserved2 Bytes
Ifasciinpe
Theasciinp
Index Record Exit
Sample Index Record Exit C Language Header
Byte
Sample Output Record Exit C Language Header
Inserted eof whenis
Resource Exit
Resname Bytes
Restype Byte
Sample Resource Exit C Language Header
IfMCF2REF=cf
Goca
Ioca
Non-Zero Return Codes
Cc Bytes
Chars Bytes
Sample Print File Attributes C Language Header
‘P1PROD’ Acif
Trc Bytes
‘P1TEST’
Acif User’s Guide
Fonts
For
Data
Thechars
For Chars Type
Size
Copyright IBM Corp
Acif User’s Guide
Acif OS/390
MVS Environments
Explaining the JCL Statements
Using Acif in the VM Environment
Apkacif
Explaining the VM CMS Commands
Trace
Using Acif in the VSE Environment
Sample VSE JCL to Invoke Acif
Assgn Syslst
Explaining the VSE JCL Statements
Prntout
Acif User’s Guide
Syntax Rules for OS/390
Parameters
OS/390 and MVS
MVS
CHARS=XðGT1ð CCTYPE=A /\ This is not allowed
Acif Parameters, Tasks, and Operating Systems
CC=YES
=TAPE Disk
After
Fontname1 ,fontname2 Fontname3 ,fontname4
Fontname
TheCHARS
COMSETUP=
Example
FDEFLIB=
DCFPAGENAMES=YES no
YES
Customization
Filetype1,filetype2,filetype ...VM
Fdeflib
Facility/VSE System
‘literal
Unbounded
Value
Dummy
Example
Fontlib
Facility/VSE System Programming Guide
IfUSERLIB
A library referenced in the // Libdef PHASE,SEARCH=... Dlbl
Fdefname Specifies the complete file name
Member
Doesnot Require
INDEXn
IMAGEOUT=ASIS Ioca
Treats Group Uses this information to index Document
Also Specified
Field n ,FIELDn
FIELDn
Ddname
16FIELDn
INPEXIT= module
INDXEXIT= module name
FileINDEXDD
RECFM=FFBVVB
100
=FFBVVB
IfUSERLIB
OUTPUTDD=OUTPUTDDname OS/390, MVS, and VM
OVLYLIB=
Following Example
Ovlylib
Pdefname Specifies Complete file name in OS/390, MVS
Jobparm Output JCL
Linect
OS/390
Pdeflib
SOSI2
SOSI3
PSEGLIB=
RESEXIT=
Module Name
Pseglib
Stat
Specifies File
That Appears Dlbl
108
ALL
Ovly
Font
TRC=YES no
Value X value
Trigger
Trigger Acif
Value value
Trigg
Racf
Example Acif Application in OS/390, MVS, VM, or VSE
113
Example of a Customers Phone Bill
JCL, CMS Commands
Parameters
OS/390 or MVS JCL to Invoke Acif
Processing
Space
VM CMS Commands to Invoke Acif
VSE JCL to Invoke Acif
Exec PGM=APKACIF,SIZE=548K \ Data Characteristics CC = YES
INDEX2
INDEX1
FIELD1
Field5
Field3
City, State, Zip, index attribute Field4
VM CMS Commands
Concatenating Files
OS/390 or MVS JCL
File MVS or OS/390
Acif User’s Guide
Input Record Exit
123
PFATTR@ Bytes
Sample Input Record Exit Dsect
EOF
Sample Index Record Exit Dsect
Output Record Exit
RECORD@ Bytes
Sample Output Record Exit Dsect
Resexit
Sample Resource Exit Dsect
Request Byte
User Exit Search Order
Attributes Input Print File
Non-Zero Return
Or name.TEXTLIB
Cctype Byte
OfCCTYPEthe
Bytes 25-32
Bytes 33-40
Acif User’s Guide
For OS/390
Multiple Message Scenarios
133
Severe
General Messages
WAS
Name
Action
136
Field
Length Padding For Error May
Logic Error You
Document To create the structured fields For
Guide Line Data
User
Ignored
Explanation
For
Document Content
Document Content Architecture Referencefor more
Objectto
Advanced Function Printing DiagnosisforGuide
MSU
Content Architecture
140
Printing Diagnosis
MMC
MMO
ProgrammerArchitecture
142
System
Presentation Programming Guide Line Data
BIM
ReferAdvancedto Function Printing Diagnosis
Acif User’s Guide
Issues Message Identifying
Message Identifying Positio Error
Logic Error
Error May be an Acif logic error Valid
Identifier, is
Response
Unit
MMC
Invalid
APK244I
Data
Architecture Referencefor
Guide for
Content Architecture Referencefor more
Not
ANY
Maps
150
Structured fieldDO not Match
AEG
MCF
IPO
152
Architecture RefeorAdvancedence
Function Printing Diagnosis Presentation
Function Printing Diagnosis Guide for
Document Content Document Content Architecture Referencefor
Programming Guide and Line Data Reference,
PGP
ToFunction
Assistance Determining Source Problem
Logic Error You Structured Field Used Program
Form Definition With Error Verify That
Structured Field Error Contained a
Structured Field numberIS
LND
Presentation Programming Guide and Line Data Referencefor
Structured field numberISparameter
156
IdentifierIS
ISparameter Value
Printing Diagnosis ForGuide Presentation
LND
158
Programming Guide Line Data
Identifier1
Identifier2WAS
IdentifierWAS
Printing Diagnosis ForGuide Advanced
160
Size
Identifier Referencefor
Number, Presentation
BMM
Structured field
Direction
Are
Guide be
Advanced Function Presentation
Logic Error You Used
Value For Definition Correct Error Res
With Error Verify That Inp
Set Issues Message Identifying
System Programmer Response
Used
Storage Request,requestsize
Module
Module Name
Open
File
Have
Invalid Explanation
Were
Range
Code =
Processing
Error
Acif has Completed Processing
During
But
Index
Xxxxxxxx
Xxxxxxnn
Token1
Values Specified
Not Supported for Field Index
Trigger
APK476I Message Text not Available for
Function Specified Message
APK905S Missing Font Metric Pointer CCM
Programmer Response
DAT
Find
174
Acif Messages for OS/390, MVS, VM, 175and VSE
Acif User’s Guide
177
Acif User’s Guide
That
Placing TLEs in named
179
Lines
Working with file transfer and AIX
Variable-length files
Ebcdic
Ascii
Carriage controls
Fixed-length files
Understanding how Ansi
Ansi carriage control characters
Systems
Physical media
PC file transfer program
IND$FILE
Invoke Medium Map IMM Structured Field
Image
Binary
NFS
Indexing Considerations
Specifying the Imageout
Document
Index
Acif User’s Guide
Tag Logical Element
187
Structured Field Introducer 8 bytes
Tag Identifier Triplet 4-254 bytes
Format of the Resources File
BPG
Field
Structured
Resource Group BRG
Resource
Acif User’s Guide
Group-Level Index Element IEL Structured Field
191
Page-Level Index Element IEL Structured Field
Field
Structured
Tag
Logical Element
Field
BDI
Appendix D. Format of the Output Document File
195
BDT
BPG TLE INDEX1
Groups
Begin Document BDT
Begin Named Group BNG
EDT
EDT
Structured Fields
Begin Page BPG Structured
IsINDEX2
Definitions
Output MODCA-P Data Stream
Composed Text
Source Identifiers
201
AFP
AIX
202
Formdef
Goca
PSF
Typeface
Syntax
Tag
Acif User’s Guide
Bibliography
207
AFP Architecture
Fonts
Text Processing
InfoPrint Manager for AIX
EDMSuite OnDemand
Printers
OS/390 Version 2 Release
ESA
TCP/IP for MVS
Vtam and NCP
Information/System
Systems Network Architecture
AS/400
215
See AFP
Acif JCL
API
AIX
See acif
Ascii AIX
AIX Ascii
Asciinp
BDI
Commands
Defined, OS/390, MVS, VM, VSE
See
See End
Variables Exits
EPG
ERG
AIX Index
GTF
AIX Imageout
AIX IMM
AIX JCL
Indexobj
Indxexit
AIX Indexdd
AIX Inpexit
See file
Parameter Library
See Map
Index JCL
Userlib
COMSETUP, OS/390, MVS, VM, VSE Ovlylib
FORMDEF, OS/390, MVS, VM, VSE
AIX 41 GROUPNAME, OS/390, MVS, VM, VSE
IMAGEOUT, OS/390, MVS, VM, VSE
Resexit
RESEXIT, OS/390, MVS, VM, VSE
Reslib AIX
Trigger AIX
AIX VSE
Exit
Reslib
See Tag
TRC
AIX Sysin JCL
AIX MVS TRC
AIX 65 Userappl
Acif VSE
Communicating Your Comments
Comments
IBM
IBM
Readers Comments Wed Like to Hear from You
Page
IBM
AFP Conversion and Indexing Facility User’s Guide