There's a third and significant use of RECFM=U.
Several IBM ESP programs provide SMF data for vendors in RECFM=U format,
so those vendors who process those data on ASCII can directly read those
files, since they contain the BDW and RDW and can be ftp'd as binary.
If, instead, you attempt to ftp a VBS (or VB or V) file, PGM=FTP shows
you it knows what that RECFM means, and then showing how smart it is,
sends ONLY the data portion of each record without the BDW/RDWs.
By creating RECFM=U copy (either by changing the DCB or by copying with
IEBGENER) PGM=FTP cannot muck about and preserves the BDWs and RDWs.
For years, MXG provided this PGM=IEBGENER example to copy the VBS dataset to
one with RECFM=U:
// EXEC PGM=IEBGENER
//SYSUT1 DD DSN=YOUR.VB.FILE,DISP=SHR,RECFM=U,BLKSIZE=32760
//SYSUT2 DD DSN=YOUR.NEW.RECFMU,DISP=(,CATLG),RECFM=U,
// BLKSIZE=32760,UNIT=SYSDA,SPACE=(CYL,(50,50))
//SYSIN DD DUMMY
But very recently, Dan Kaberon showed how the existing VBS file can be
changed to RECFM=U WITHOUT THE COST OF THE COPY:
//JCLVBS2U EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD DSN=ZOS.VBS.FILE.TO.CHANGE,
// DISP=MOD,DCB=RECFM=U
//SYSUT1 DD DSN=NULLFILE,DCB=*.SYSUT2
The key is to use DISP=MOD and to copy NULLFILE which
ONLY changes the DSCB attributes and does NOT touch
the actual data in the original file.
Barry
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Shmuel Metz (Seymour J.)
Sent: Sunday, November 03, 2013 4:18 PM
To: [email protected]
Subject: Re: ISPF statistics
In <[email protected]>, on
10/30/2013
at 03:34 PM, Paul Gilmartin <[email protected]> said:
>"rarely"+1.
Now that I think of it, there are two uses of RECFM=U for non-load-module data
that didn't qualify as rare; Wylbur compressed data and old SAS libraries; the
latter was PS rather than PO.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN