On Tue, 9 Sep 2014 09:01:50 -0500, Barry Merrill wrote:
>To send V/VB/VBS data from z/OS to a non-z/OS site and preserve the BDW and
>RDWs:
>
> A. Sending data to MXG support.
>
> i. ftp instructions for sending data to the MXG ftp site
>
> Using the IBM ftp program, you can ftp any MVS data file to the
> MXG ftp site with this syntax; do NOT change the DCB attributes
> of the //SMFFILE DD: even though it points to a VBS DSNAME, the
> RECFM=U,BLKSIZE=32760 must be used to include BDW and RDWs.
>
> //FTP EXEC PGM=FTP,PARM='(EXIT=4'
> //SYSPRINT DD SYSOUT=*
> //OUTPUT DD SYSOUT=*
> //SMFFILE DD DSN=YOUR.SMF.DATA,DCB=RECFM=U,BLKSIZE=32760,DISP=SHR
> //INPUT DD *
> ...
> put //DD:SMFFILE yourname.smf
> ...
Now this is interesting. It has been my experience in the past that when
I tried to supply overriding DCB parameters FTP reverted to the values
in the DSCB. Perhaps something has changed. And I rember something
like:
//FTPFILE DD FILEDATA=TEXT,RECFM=VB,LRECL=999,PATH'/some/unix/path'
//INPUT DD *
...
ASCII
PUT //DD:FTPFILE remote.data.set
My intent was that FILEDATA=TEXT in the DD statement would cause the
file to be broken at into records at <NL> separators. It didn't work.
The memory is fuzzy; I may try to reconstruct.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN