On Tue, 21 Mar 2023 21:35:01 +0000 Sri h Kolusu <[email protected]> wrote:

:>>> I set up the latter as number=1,len=1

:>Binyamin,

:>When you code DINDSNAM, # must be one, LEN is the length of the dsname, and 
PARM contains the dsname.

:>https://www.ibm.com/docs/en/zos/2.4.0?topic=dirtu-dsname-specification-key-0002

I stated that the latter, i.e., DINRDSNT, was 1/1. The dsname was the correct
length. And the DDNAME was returned. Thus the data was correct.

:>>>and upon return from dynalloc I see that the length was set to zero, as if 
nothing could be returned. The requested dataset is a PDSE.

:>For information retrieval text units, the system uses this field to indicate 
the length of the information it is returning, or to indicate that the 
information was not available, by setting it to 0.

Yes, I am aware that it isn't returning data. The question is why? Nothing in
the manual conditions the retrieval of dataset type on anything.

:>https://www.ibm.com/docs/en/zos/2.4.0?topic=s99tukey-length-s99tulng

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to