|
Do all of the PDFs have numeric names? Do you have any that begin with an alpha character, and it works? I've had issues before where some tools assume that file name start with alphas, so I always generate file names with alpha characters in front, just to be safe. Don't know about IBM stuff, though. HTH, Loyd Loyd Goodbar Senior programmer/analyst BorgWarner E/TS Water Valley 662-473-5713 -----Original Message----- From: Jeff Crosby [mailto:jlcrosby@xxxxxxxxxxxxxxxx] Sent: Tuesday, January 03, 2006 12:13 To: 'Midrange Systems Technical Discussion' Subject: CPY command error I used this CPY command to test whether I can automate this: CPY OBJ('/Invoices/2006-01') TODIR('/qntc/ReportSvr/Shared Files/Invoices') TOCCSID(*PCASCII) SUBTREE(*ALL) The result was: 143 objects copied. 305 objects failed. All the failed objects had a .pdf extension. All the copied objects were either a directory or some extension other than .pdf. The joblog has, for each failed object: Message ID . . : CPFA0AD Severity . . : 40 Message type . : Diagnostic Date sent . . : 01/03/06 Time sent . : 12:36:12 Message . . . . : Function not supported by file system. Cause . . . . . : An attempt was made to use a function which was not supported by the file system for path /qntc/ReportSvr/Shared Files/Invoices/2006-01/03/9116700.PDF. The path selected may not be valid for the function, or it may not be in the same file system. Recovery . . . : Check the path name for accuracy. You may need to use another path for the operation. Check the job log for possible additional messages. The target (ReportSvr) is a Win XP Pro machine. Every month I have been doing this in Win explorer on that PC via drag and drop and wanted to automate it. The .pdf files copy just fine via that method. I don't understand the 'function not supported'. Could it be an authority thing? I have the same user id and password on the i5 and that PC. Ah! I just checked and the CCSID on the .pdf files is 37 and on the other files is 819. Suppose that's it? Then how does my drag and drop work?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.