Mullen, Patrick wrote:

>I thought this would be straight forward, but I can't get it to work 
>correctly. 
Trying to FTP a DSORG=VB dataset from one z/OS 1.7 system to another z/OS 
1.7 system. The dataset contains alphabetic and packed decimal data.

>With no special commands, some of the packed data comes out translated 
into different hex values. Adding a 'bin' command resolves the translation, but 
now record structure is lost. Adding a 'quote site rdw' doesn't make any 
difference, but maybe that syntax is incorrect.

>Any ideas?


Try this:

<userid> <password>
LOCSITE RDW
SITE    RDW
LOCSITE RECFM=VB
SITE    RECFM=VB  
LOCSITE LRECL=?
SITE    LRECL=? 
MODE B 
EBCDIC 

Then do either GET or PUT.

Then it is guaranteed both sides know what to expect.

HTH!

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to