|
From smith5646midrange@xxxxxxxxxTo "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxxxxxxxx>
I have a .bat file on my windows PC that needs to connect to an IBM I,
create a SAVF, and then upload a file from the PC into the SAVF. My script
file is as follows:
open systemname
userid
password
quote "CRTSAVF MYLIB/MYSAVF"
bin
put file.savf mylib/mysavf
close
quit
This creates a PF named mylib/myfile. It does not create a SAVF. If the
file already exists, I get an error that CRTSRCPF failed. Why is it
converting the CRTSAVF to a CRTSRCPF? How do I get it to create the SAVF?
This is on a 7.4 machine that is current (as of Monday) with PTFs.
This is going to connect to 8 different machines so I'd rather not log into
each one of them to do the CRTSAVF.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
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.