On Fri, Mar 16, 2018 at 8:47 AM, Pommier, Rex <[email protected]> wrote:
> Hi list, > > I have what is hopefully an easy question that I just am looking in the > wrong place. Given a PDS of source or JCL, is there a quick, "easy" way of > finding any/all the packed members within the PDS? > "easy"? I don't think so. There is not anything in the PDS directory entry to indicate PACK ON or OFF. You must read the first record of the member. If it starts with the "magic word" of X'000140C6', then it is packed with Fixed length records. If it starts with the "magic word" of X'000140E5' then it is packed with Variable length records. Or maybe just check for the first 3 bytes being X'000140'. Wish that I could find the book where this is documented. I think that I read it, long ago, in an ISPF manual. > > Thanks, > > Rex > > The information contained in this message is confidential, protected from > disclosure and may be legally privileged. If the reader of this message is > not the intended recipient or an employee or agent responsible for > delivering this message to the intended recipient, you are hereby notified > that any disclosure, distribution, copying, or any action taken or action > omitted in reliance on it, is strictly prohibited and may be unlawful. If > you have received this communication in error, please notify us immediately > by replying to this message and destroy the material in its entirety, > whether in electronic or hard copy format. Thank you. > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- I have a theory that it's impossible to prove anything, but I can't prove it. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
