I noticed that the stream has 'single' quotes rather
than "double" quotes...hmmmmm what's up with that ???
I missed the X'41' trick ...where did you find that ???
pnelson@xxxxxxxxxx wrote:
Thanks to Ted, wherever you are! Thanks, Google.
I got it working with the hex41 example, and copied exactly one record
instead of the previous 7. Here's a clip from the job log:
7400 - CPYF FROMFILE(EAM900F/ZPTMST) TOFILE(TEAMS/XZPTMST)
FROMMBR(*FIRST) TOMBR(*FIRST) MBROPT(*REPLACE) CRTFILE(*NO) INCREL((*IF
PTCMPY *EQ '02') (*AND PTLOC *EQ '0893') (*AND PTLOC *LT '0893 ') (*AND
PTPART *EQ 'FOE6NN7N057A') (*AND PTPART *LT 'FOE6NN7N057A '))
FMTOPT(*MAP *DROP)
Notice that the hex41 plugs in a trailing blank for both the location and
the part number.