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