Page 1 of 1

Creating PDS file via FTP command line

PostPosted: Wed Oct 27, 2010 8:45 pm
by creily
I need to create a PDS with these attributes via FTP command line: Organization = PO, Record Format = FB, Record Length = 32000, Block Size = 32000

I have attempted to use the following commands and get these responses, but am not sure if they are correct or being executed in the correct order. Any direction would be appreciated.

1. From Windows cmd line, start FTP and authenticate.

2. quote site filetype=PDS
Filetype parameter (PDS) is invalid. Filetype ignored.

3. quote site cond=catlg recfm=fb lrecl=32000 blksize=32000
SITE command was accepted

4. quote site directory=25 primary=1500 secondary=250
SITE command was accepted

5. quote site quotesoverride
SITE command was accepted

6. MKDIR TEST
Mkd fails: [Username].TEST User not authorized

Re: Creating PDS file via FTP command line

PostPosted: Wed Oct 27, 2010 9:02 pm
by MrSpock
It took a few attempts, but this finally worked:

I used the quote "site ..." command to set the basics ...

>quote "site lr=32000 blk=32000 directory=25 primary=1500 secondary=250 cy"

then

>mkd XXXX

257 "'<hlq>.XXXX'" created.

>cd XXXX

250 The working directory "<hlq>.XXXX" is a partitioned data set

>put file MEMBER