|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am looking to ftp from a windows clent directly to the mainframe. I need to define the DCB attributes (lrecl, blksize and recfm) from the windows client. Is this possible and if so, what is the syntax for doing this.
Ideally I would allocate a file on the mainframe with the desired DCB attributes and then FTP directly to it, but the business rules prevent me from doing this. I need to somehow define the attributes from the client. Unfortunately the client always defaults to 80 char lrecl. How get I get past this. |
|
#2
|
|||
|
|||
|
Issue the site command specifying your dcb information prior to the put or get command. Here is an example containing the most common dcb information you may wish to specify.
site recfm=fb lrecl=80 blksize=0 cyl pri=10 sec=2 I hope this helps. |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > FTP to Mainframe DCB Parms |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|