On Fri, 13 Feb 2015 08:20:35 -0800, Sri h Kolusu wrote:
>
>If you don't have File manager then you can go the traditional route of
>punching(PGM=IEBPTPCH) the pds members to a sequential dataset and then
>using SORT to create the VB file.
>
>//******************************************************************
>//* PUNCH ALL MEMBERS TO A SEQUENTIAL FILE (CREATES AN FBA FILE) *
>//******************************************************************
>//STEP0100 EXEC PGM=IEBPTPCH
>//SYSPRINT DD SYSOUT=*
>//SYSUT1 DD DISP=SHR,DSN=Your Input FB PDS
>//SYSUT2 DD DSN=&&PDSMEM,DISP=(,PASS),SPACE=(CYL,(X,Y),RLSE)
>//SYSIN DD *
> PUNCH TYPORG=PO
>//*
I haven't used this beast, apparently described in:
http://www-01.ibm.com/support/knowledgecenter/api/content/nl/en-us/SSLTBW_2.1.0/com.ibm.zos.v2r1.idau100/iebptpc.htm
... and it's becoming apparent why not. I deem the documentation horrible!
(Or perhaps I haven't looked in the proper places.) Where does it answer
such basic questions as:
o How are input member images separated in the output sequential data set?
o Can the programmer control the format of separator? How?
o Regardless of the format of the separator, how are input records
which by happenstance mimic that separator protected in the
output data set?
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN