Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP Parameters

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
bjr149

New User


Joined: 01 Jun 2005
Posts: 2

PostPosted: Tue Jun 14, 2005 8:30 pm    Post subject: FTP Parameters
Reply with quote

Ok my ftp step works fine....

my control card has

*ip*
*user*
*pw*
put 'blah.blah' blah.txt
quit

what i need is the parameter so if the file already exists it will NOT overwrite it, anyone know it?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Tue Jun 14, 2005 9:12 pm    Post subject: Re: FTP Parameters
Reply with quote

According to the "z/OS V1R6.0 CS:IP User's Guide and Commands":

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B940/CCONTENTS?SHELF=EZ2ZO10E&DN=SC31-8780-04&DT=20040701154444

Section 5.69:

5.69 SUnique subcommand--Changes the storage method

Purpose

The SUnique subcommand changes the method of storing files on the foreign host.

Format

>> SUnique [On | Off] [NAME | NONAME] <<

Parameters

On
Turns on store unique.

Off
Turns off store unique.

NAME
When specified with ON or OFF, instructs the client to include a name when sending a store-unique command to the server.

NONAME
When specified with ON or OFF, instructs the client to omit a name when sending the store-unique command to the server.

Usage

By default, the SUnique setting is OFF NAME and FTP uses a store command (STOR) with the PUt and MPut subcommands. If the foreign host already has a data set or file with the name specified by foreign_file, the foreign host overwrites the existing data set or file.

If SUnique is set to ON, FTP uses a store-unique command (STOU) with the PUt and MPut subcommands and prevents you from overwriting or erasing the existing data set or file on the foreign host. If the default setting of NAME is in effect, a name string will be sent to the server with the store-unique command. The created foreign data set or file is stored with a unique name. FTP sends the unique name of the created foreign data set or file to the local host, where the data set or file name is displayed on your terminal.

SUnique with no parameters toggles the ON/OFF setting. If ON or OFF is specified, SUnique will be set to that value regardless of its current setting. The NAME/NONAME setting can be changed as SUnique is turned ON or OFF. It is in effect when SUnique is ON and does not change for the session until another NAME or NONAME setting is specified.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts Multiple parameters Csongor All Other Mainframe Topics 16 Thu Jun 09, 2016 7:54 pm
No new posts SYSUT2 - CONFLICTING DCB PARAMETERS raulravi7 JCL & VSAM 6 Thu May 19, 2016 9:43 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us