Thinki about how you do it in assembler.  You WRITE, then you STOW.

Johnny Luo <[EMAIL PROTECTED]> wrote:  Recently I've been trying to write a 
REXX which can be invoked
directly in ISPF to add a new member to an existing PDS.

My plan is:Invoke the REXX------>It asks you for the existing PDS name
and the new member name which you want to add---->accomplish.

After reading some articles,I decide to use ISPF library services .
Manual says to add a member you should resort to LMMADD.
However,it also says to use LMMADD,LMPUT must be issued
first.

"The LMPUT service writes one logical record to the data set associated
with a given data ID"
But,what I want to do is just adding a member to PDS,then why I must
write a logical record to PDS first?

--
Best Regards,
Johnny Luo

----------------------------------------------------------------------
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



                        
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

----------------------------------------------------------------------
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