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
Programming Interfaces
Disclaimer
Trademarks
SUN
Unix
Insertimm
Userlib
IOB
Apar
APK252I Apar
APK343I Apar
APK345I Apar
Why Should I Read This Publication?
What Do I Need To Know?
Xiii
MVS VSE AIX Acif
Ascii
MVS
MVS VSE
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
Content Architecture Reference
Tasks You Can Do with Acif
BDT/EDT
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
Fdeflib= pathlist
Directory/usr/lpp/psf/reslib
Field16 .
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
Reslib= pathlist
Respath
Pseglib
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
Field1
Field2
Field3
Values
Literal
Must
As axeb Oriconv
Running the Acif Job
Acif Output
Determining the Form
Definition
Accessing the Document
Workstation
Transferring the Document
Workstation
Cd AIXdirectoryname
Mounting
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
Goca
Ioca
IfMCF2REF=cf
Non-Zero Return Codes
Cc Bytes
Chars Bytes
Sample Print File Attributes C Language Header
Trc Bytes
‘P1TEST’
‘P1PROD’ Acif
Acif User’s Guide
Fonts
For
Data
Thechars
For Chars Type
Size
Copyright IBM Corp
Acif User’s Guide
MVS Environments
Explaining the JCL Statements
Acif OS/390
Using Acif in the VM Environment
Explaining the VM CMS Commands
Trace
Apkacif
Using Acif in the VSE Environment
Sample VSE JCL to Invoke Acif
Explaining the VSE JCL Statements
Prntout
Assgn Syslst
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
DCFPAGENAMES=YES no
YES
FDEFLIB=
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
INDXEXIT= module name
FileINDEXDD
INPEXIT= module
100
=FFBVVB
RECFM=FFBVVB
OUTPUTDD=OUTPUTDDname OS/390, MVS, and VM
OVLYLIB=
IfUSERLIB
Ovlylib
Pdefname Specifies Complete file name in OS/390, MVS
Following Example
Jobparm Output JCL
Linect
OS/390
Pdeflib
SOSI2
SOSI3
PSEGLIB=
Module Name
Pseglib
RESEXIT=
Specifies File
That Appears Dlbl
Stat
108
ALL
Font
TRC=YES no
Ovly
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
INDEX1
FIELD1
INDEX2
Field3
City, State, Zip, index attribute Field4
Field5
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
Name
Action
WAS
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
Content Architecture
140
MSU
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
MMC
Invalid
Unit
APK244I
Data
Architecture Referencefor
Guide for
Content Architecture Referencefor more
Not
ANY
Maps
150
Structured fieldDO not Match
MCF
IPO
AEG
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
Printing Diagnosis ForGuide Presentation
LND
ISparameter Value
158
Programming Guide Line Data
Identifier1
Identifier2WAS
IdentifierWAS
Printing Diagnosis ForGuide Advanced
160
Size
Number, Presentation
BMM
Identifier Referencefor
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
Not Supported for Field Index
Trigger
Values Specified
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
Document
Index
Specifying the Imageout
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
Output MODCA-P Data Stream
Composed Text
Definitions
Source Identifiers
201
AFP
AIX
202
Formdef
Goca
PSF
Syntax
Tag
Typeface
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
Systems Network Architecture
AS/400
Information/System
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
Parameter Library
See Map
See file
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
Exit
Reslib
AIX VSE
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