On Tue, 9 Sep 2014 09:16:44 -0500, John McKown wrote:

>On Tue, Sep 9, 2014 at 9:01 AM, Barry Merrill wrote:
>> To send V/VB/VBS data from z/OS to a non-z/OS site and preserve the BDW and 
>> RDWs:
>>
>>       //FTP      EXEC PGM=FTP,PARM='(EXIT=4'
>>       //SMFFILE  DD DSN=YOUR.SMF.DATA,DCB=RECFM=U,BLKSIZE=32760,DISP=SHR
>>       //INPUT DD *
>>       bin
>>       put //DD:SMFFILE  yourname.smf
>
>That is interesting. What about if you then needed to upload that file
>back to z/OS? I was thinking you could use RECFM=U, but then realized
>that the RECFM=U still has block boundries which would make reading
>the file difficult. That is you could not upload as RECFM=U, then just
>use JCL DCB=(RECFM=VBS) to read it.
> 
Yup.  I've decoded such with a Rexx program.  Particularly ugly since
prior to z/OS 2.1 Rexx couldn't handle RECFM=U (I haven't tried 2.1).
I REPROed it from RECFM=U to RECFM=V and processed that.

An alternative might be IEBGENER to a UNIX file, then parse with Rexx.

BTW, this is the format used by GIMZIP for RELFILEs.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to