In the instructions that follow, the information that you must provide is shown as one of the variable names from the table of information in the previous section. For example, if your high-level qualifier (hlq) value is MY.MFA, then substitute MY.MFA for hlq.
To load Mainframe Access Server:
DSORG=PO <=== PDS (partitioned data set) RECFM=FB <=== record format fixed and blocked LRECL=80 <=== 80 character record size BLKSIZE=3120 <=== 3120 character block size SPACE=(3120,(3500,500,50)) <=== allocate blocks (BLKS) size 3120 3500 primary blocks 500 secondary blocks 50 directory blocks
C:\>ftpyour.mainframe.name Connected to your.mainframe.name. 220-FTPD1 IBM FTP CS/390 VxRy at YOUR.MAINFRAME.NAME, hh:mm:ss 220 Connection will close if idle for more than 5 minutes. User (your.mainframe.name:(none)): userid 331 Send password please. Password: pswd 230 userid is logged on. Working directory is "userid.".
ftp> cd 'hlq.UPLOAD' 250 The working directory "hlq.UPLOAD" is a partitioned data set.
ftp> binary 200 Representation type is Image
ftp> prompt Interactive mode Off.
ftp> mput drive:\upload\* 200 Port request OK. 125 Storing data set hlq.UPLOAD(Xxxxxxxx) 250 Transfer completed successfully. ftp: xxxx bytes sent in x.xx seconds (xxx.xx Kbytes/sec)
ftp> quit 221 Quit command received. Goodbye.
On the mainframe, verify that all files transferred successfully and that for each xxxxxxxx file in the \Upload directory there is a corresponding member in the hlq.UPLOAD data set. There should be 19 members.