|
On Wed, Jun 17, 2015 at 11:23 AM, Alan Cassidy <ACassidy@xxxxxxxxxxxxxx>
wrote:
This is urgent, exec-deadline today to automate this. I'm trying to useCPYTOSTMF to copy save files to the IFS.
changed):
I thought this step straightforward. Here's the command (object names
CPYTOSTMF
FROMMBR('/QSYS.LIB/DTALIB.LIB/SAVEFNAME.FILE')
TOSTMF('/BACKUP_TEST')
STMFOPT(*REPLACE)
CVTDTA(*NONE)
Note that CVTDTA is ignored for save files.
The names are double-checked correct. What am I missing?
Well, if /BACKUP_TEST is a directory, then what you're missing is that
the parameter wants the name of the destination stream file. This was
listed as one of the possible causes in the message text you quoted.
John Y.
--
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.