Intermate iSeries Stepper Machine User Manual


 
408
User’s Manual for InterForm400
®
Find 'string':
Type in e.g. *PAGE to transfer the contents of whole spooled file
page to the page builder program without the use of DATA01-
DATA10. Use of *ANY tells that you do not want to search after
any specific text. Other values are interpreted as a string to
search for in each spooled file page.
G NOTE G
If you use *PAGE for Find string, the rest of the fields for DTAPARM are ignored.
String length:
The length of the string to search for/compare with in 'Find string'.
Use of *STR indicates that you want to use the length of the that
string.
Return length:
The number of characters to insert in the spooled file from the
DATAxx, that is returned from the page builder program.
Minimum/maximum line:
The interval of lines in the spooled file to search for the string. If
you know what line you want to use just specify this for both.
Minimum/maximum starting position:
The interval of positions to search in the spooled file for the 'Find
string'.
Pass data from position:
You can pass some spooled file data from the line where the
string of text is found onto the page builder program (in DATAxx).
Here you state the starting position of this text. Use *STRPOS to
use the position where 'Find string' text is found.
Pass data length:
Works like the previous field. This just determines the length of
the spooled file data to move to the page builder program.
FILE Spooled file name of the *SCS spooled file to operate on.
JOB Job name, user profile and job number of the spooled file.
SPLNBR Spooled file number.
APPIDPARM Application ID parameter. This is transfered onto the page builder
program as a parameter. This can be useful if you e.g. want to
call the same pagebuilder program from different uses of the
CRTPBSPLF command.
OUTQ The output queue where the new and changed spooled file will be
created. *INPUT will make the command create the new spooled
file on the same output queue as the original spooled file.
FORMTYPE The formtype of the new, changed spooled file.
SPLFNAME The name of the new spooled file.
Example:
CRTPBSPLF PAGBLDPGM(LIB1/BPSAMP)
DTAPARM((‘INVOICE NO’ 10 10 1 80 51 51) (*ANY 9 9 11 11 12