Page 2 of 2

Re: Automatic assigning of current DSN as ISPPLIB for ISPF p

PostPosted: Thu Oct 05, 2017 5:31 pm
by riya_kottoor
Thank you so much for all the inputs you gave. I could get the source PDS name using "PARSE SOURCE" and assign it as the DSN in ISPPLIB.

Re: Automatic assigning of current DSN as ISPPLIB for ISPF p

PostPosted: Thu Oct 05, 2017 5:56 pm
by enrico-sorichetti
Thank you so much for all the inputs you gave. I could get the source PDS name using "PARSE SOURCE" and assign it as the DSN in ISPPLIB.

pretty flaky design, to mix in the same PDS execs, panels, ...
but if You are happy :mrgreen:

Re: Automatic assigning of current DSN as ISPPLIB for ISPF p

PostPosted: Thu Oct 05, 2017 6:06 pm
by willy jensen
flaky design, to mix in the same PDS execs, panels,

I respectfully disagree, it depends on the application and personal preferences. But that is matter for another topic.

Re: Automatic assigning of current DSN as ISPPLIB for ISPF p

PostPosted: Thu Oct 05, 2017 6:38 pm
by enrico-sorichetti
remember, this is a beginner' s forum

but as usual it depends on the complexity of the application and the setup standards

Re: Automatic assigning of current DSN as ISPPLIB for ISPF p

PostPosted: Thu Oct 05, 2017 6:48 pm
by willy jensen
that I can aggree with 8-)

Re: Automatic assigning of current DSN as ISPPLIB for ISPF p

PostPosted: Thu Oct 05, 2017 10:31 pm
by prino
enrico-sorichetti wrote:
Thank you so much for all the inputs you gave. I could get the source PDS name using "PARSE SOURCE" and assign it as the DSN in ISPPLIB.

pretty flaky design, to mix in the same PDS execs, panels, ...
but if You are happy :mrgreen:

Not flakey, plain shyte. What happens if the end user already has a member with the name of the panel in his or her exec library? What does PARSE SOURCE return for a concatenation?

Re: Automatic assigning of current DSN as ISPPLIB for ISPF p

PostPosted: Thu Oct 05, 2017 11:10 pm
by enrico-sorichetti
What does PARSE SOURCE return for a concatenation?


IIRC it returns the ddname
and after having issued a libdef by DDNAME
all the dataset in the SYSPROC/SYSEXEC concatenation
will be searched for a panel to display :shock: :shock:

Re: Automatic assigning of current DSN as ISPPLIB for ISPF p

PostPosted: Thu Oct 05, 2017 11:10 pm
by Akatsukami
I believe that PARSE SOURCE returns (among other things) both the DDNAME and the DSNAME.

Re: Automatic assigning of current DSN as ISPPLIB for ISPF p

PostPosted: Thu Oct 05, 2017 11:16 pm
by enrico-sorichetti
IIRC**2
for an implicit call (*) the ddname will be returned
(*) entering the command from a bare tso session or from ispf option 6

for an explicit call (*) the dsname should be returned
(*) exec some.data.set(somethng)

sorry but I do not have the system up to check :(