home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1994 February
/
psl_9403.zip
/
psl_9403
/
DOS
/
DTP
/
KP509.ZIP
/
KP5PAKE.EXE
/
KPI.DOC
< prev
next >
Wrap
Text File
|
1992-01-28
|
2KB
|
54 lines
KPI.DOC 6/3/91 copyright (c) 1991 by Peter Charpentier
-------------------------------------------------------------
KPI.EXE is used to make major structural changes to KP5 files.
By 'major' I mean changes that will cause data to be inserted
or deleted within records, not just truncated or padded.
KPI syntax:
kpi InFile OutFile SpecFile
InFile - kp5 data set to be modified
OutFile - new (modified) kp5 data set
SpecFile - specification file
Example:
kpi c:\kp5\files\studyx c:\kp5\files\studyx2 studyx.kpi
You cannot use the same name for InFile and OutFile. You may,
however, use the DOS to change the name of the new file back
to the original name, after you have archived the original.
The SpecFile may be created using any text editor, and may
contain any number of the following kinds of specification
records:
at card xxx, column yyy insert zzz columns
at card xxx, column yyy remove zzz columns
insert new card after card xxx
insert new card before card xxx
remove card xxx
ncards=nnn
card size=sss
A column insertion or deletion will shift data to the right or
left on the indicated card. Data may be lost if the card size
has not been changed. A card insertion or deletion will
result in card(s) being shifted down or up. KPI will ask if
the number of cards per record should be changed.
All of the card and column specifications refer to the OLD
structure.
SpecFile example:
remove card 3
insert new card before card 1
insert new card after card 5
at card 1,column 30 insert 3 columns
at card 2,column 20 delete 1 column