Automatic assigning of current DSN as ISPPLIB for ISPF panel



IBM's Command List programming language & Restructured Extended Executor

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

Postby riya_kottoor » Thu Oct 05, 2017 5:31 pm

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.
riya_kottoor
 
Posts: 19
Joined: Thu Sep 21, 2017 11:58 am
Has thanked: 1 time
Been thanked: 0 time

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

Postby enrico-sorichetti » Thu Oct 05, 2017 5:56 pm

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:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

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

Postby willy jensen » Thu Oct 05, 2017 6:06 pm

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.
willy jensen
 
Posts: 465
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times

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

Postby enrico-sorichetti » Thu Oct 05, 2017 6:38 pm

remember, this is a beginner' s forum

but as usual it depends on the complexity of the application and the setup standards
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

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

Postby willy jensen » Thu Oct 05, 2017 6:48 pm

that I can aggree with 8-)
willy jensen
 
Posts: 465
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times

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

Postby prino » Thu Oct 05, 2017 10:31 pm

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?
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

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

Postby enrico-sorichetti » Thu Oct 05, 2017 11:10 pm

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:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

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

Postby Akatsukami » Thu Oct 05, 2017 11:10 pm

I believe that PARSE SOURCE returns (among other things) both the DDNAME and the DSNAME.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

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

Postby enrico-sorichetti » Thu Oct 05, 2017 11:16 pm

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 :(
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post