31.01.2013 Views

InterForm Manual - System & Method

InterForm Manual - System & Method

InterForm Manual - System & Method

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

� NOTE �<br />

444 User’s <strong>Manual</strong> for <strong>InterForm</strong>400 ®<br />

If you use *PAGE for Find string, the rest of the fields for DTAPARM are ignored.<br />

String length:<br />

The length of the string to search for/compare with in 'Find string'.<br />

Use of *STR indicates that you want to use the length of the that<br />

string.<br />

Return length:<br />

The number of characters to insert in the spooled file from the<br />

DATAxx, that is returned from the page builder program.<br />

Minimum/maximum line:<br />

The interval of lines in the spooled file to search for the string. If you<br />

know what line you want to use just specify this for both.<br />

Minimum/maximum starting position:<br />

The interval of positions to search in the spooled file for the 'Find<br />

string'.<br />

Pass data from position:<br />

You can pass some spooled file data from the line where the string of<br />

text is found onto the page builder program (in DATAxx). Here you<br />

state the starting position of this text. Use *STRPOS to use the<br />

position where 'Find string' text is found.<br />

Pass data length:<br />

Works like the previous field. This just determines the length of<br />

the spooled file data to move to the page builder program.<br />

FILE Spooled file name of the *SCS spooled file to operate on.<br />

JOB Job name, user profile and job number of the spooled file.<br />

SPLNBR Spooled file number.<br />

APPIDPARM Application ID parameter. This is transfered onto the page builder<br />

program as a parameter. This can be useful if you e.g. want to call the<br />

same pagebuilder program from different uses of the CRTPBSPLF<br />

command.<br />

OUTQ The output queue where the new and changed spooled file will be<br />

created. *INPUT will make the command create the new spooled file<br />

on the same output queue as the original spooled file.<br />

FORMTYPE The formtype of the new, changed spooled file.<br />

SPLFNAME The name of the new spooled file.<br />

Example:<br />

CRTPBSPLF PAGBLDPGM(LIB1/BPSAMP)<br />

DTAPARM((‘INVOICE NO’ 10 10 1 80 51 51) (*ANY 9 9 11 11 12<br />

12))<br />

FILE(QSYSPRT)<br />

JOB(*)<br />

SPLNBR(*LAST)<br />

APPIDPARM(‘MY ID’)<br />

OUTQ(DIAG)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!