'ZZ' or 'FF" - It was many years ago... Thanks for the update.  

ITschak


| Itschak Mugzach | Director | SecuriTeam Software |
| Email: [EMAIL PROTECTED] | Mob: +972 522 986404 | Skype: Itschak
Mugzach | Web: www.Securiteam.co.il  | 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Tom Marchant
Sent: Tuesday, July 29, 2008 7:46 PM
To: [email protected]
Subject: Re: Statistics when writing PDS members

On Tue, 29 Jul 2008 18:20:27 +0200, Itschak Mugzach wrote:
>
>I don't know an interface, but you can open the PDS as a sequential 
>file and read the directory until you get ZZ (if I remember correctly). 
>Don't know what will happen if you'll try to write it back..., but I 
>presume that if it conforms to the PDS directory format, it will be OK.

Don't try doing this yourself.  Use STOW.  You might have to write an
assembler subroutine to do it.  When you add the user data, the directory
entry will be larger and the rest of the directory will have to be
rewritten.  STOW will take care of that for you.

BTW, the high key is a PDS is 8 bytes of x'FF'.

--
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the
archives at http://bama.ua.edu/archives/ibm-main.html


__________ NOD32 3280 (20080718) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to