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 ???
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.
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact