|
Thanks for the reply. I did finally figure out my problem. I was making directories on the fly in a program, but the directory name had trailing spaces, so it couldn't find the folder. Michael Smith iSeries.mySeries. -----Original Message----- From: Carmen Nuland [mailto:cnuland@xxxxxxxxxxxxxx] Sent: Wednesday, November 17, 2004 10:55 AM To: midrange-l@xxxxxxxxxxxx Subject: RE: CPYTOSTMF I am pretty sure that the folders have to already exist in the IFS "To" stream file path. Does F40803 exist? I'm guessing not, since the command without it works. We use a CL program to walk through the list of folders and create them (CRTDIR with MONMSG CPFA0A0) to make sure they exist before using the CPYTOSTMF command. I don't know if there is a limit to the number of folders you can specify on the command - we do 7 levels deep without a problem. Carmen Nuland cnuland@xxxxxxxxxxxxxx -----Original Message----- date: Mon, 15 Nov 2004 10:47:23 -0500 from: "Smith, Mike" <Mike_Smith@xxxxxxxxxxxxxxxx> subject: CPYTOSTMF I'm running a copy of a program from Iseriesnetwork called CVTSPLSTMF(although the problem doesn't appear to be with this program directly). Within this program CPYTOSTMF is being called. When I run this program and the CPYTOSTMF is called like the following ===> CPYTOSTMF FROMMBR('/qsys.lib/qtemp.lib/CVTSPLWRK1.file/CVTSPLWRK1.mbr') TOSTMF('/pdfflr/bills/F40803/A1.html') STMFOPT(*REPLACE) STMFCODPAG(*PCASCII) I get errors telling me Object not found. Object is /qsys.lib/qtemp.lib/CVTSPLWRK1.file/CVTSPLWRK1.mbr. When I run the program and the CPYTOSTMF is called like the following ===> CPYTOSTMF FROMMBR('/qsys.lib/qtemp.lib/CVTSPLWRK1.file/CVTSPLWRK1.mbr') TOSTMF('/pdfflr/bills/A1.html') STMFOPT(*REPLACE) STMFCODPAG(*PCASCII) It works fine. The only difference is the additional folder F40803. So I guess my question is, Is there a limit to the number of directory paths on the IFS, or is there possibly a bug in the CPYTOSTMF command, or am I just missing something? Btw the folders all exist. Michael Smith iSeries.mySeries. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.