× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



From inside the script or from the command line.

Try the “site quote crtsavf……”.


Jim Oberholtzer
Agile Technology Architects

On Oct 10, 2024, at 11:34 AM, smith5646midrange@xxxxxxxxx wrote:

If I run the command by itself, it creates the PF. It is the CRTSAVF that
is having issues.

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
MidrangeL
Sent: Thursday, October 10, 2024 11:58 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Weird result creating a SAVF via FTP

I'll bet the "quote "CRTSAVF MYLIB/MYSAVF" " line is not working. FTP would
create a PF if the file does not exist by default.
In my scripts in WinSCP I use "site quote "CRTSAVF MYLIB/MYSAVF""

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


------ Original Message ------
From smith5646midrange@xxxxxxxxx
To "Midrange Systems Technical Discussion"
<midrange-l@xxxxxxxxxxxxxxxxxx>
Date 10/10/2024 10:33:50 AM
Subject Weird result creating a SAVF via FTP

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.

--
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.


--
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.