How to set library search order in ISRDDN



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

How to set library search order in ISRDDN

Postby marshall25 » Mon Apr 29, 2013 1:33 pm

hi all,

as i know, we can use 'tso isrddn' to check the libraries, but i have question if there are 2 same named panelid in diferent ISPPLIBs

for example:
SYS001 SHR,KEEP > ISPPLIB SYS.PLIB
PRIM11 SHR,KEEP > MY.PLIB

if panel01 both in SYS.PLIB and MY.PLIB, and i have program with load PRG01 which used "LIBDEF ISPPLIB DATASET ID('SYS.LIB') STACK" to defined ISPPLIB before panel display, can i to define a application-level panel library(ISPPUSER) before LIBDEF? And please show me example, thanks
marshall25
 
Posts: 26
Joined: Mon Jun 20, 2011 9:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to set library search order in ISRDDN

Postby Pedro » Mon Apr 29, 2013 9:52 pm

Examples and everything else is in the manual.

See the ISPF Services manual. Under LIBDEF, there is a section for "Application data element search order"
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: How to set library search order in ISRDDN

Postby marshall25 » Tue Apr 30, 2013 8:10 am

hi Pedro,

it worked if i defined the ISPPUSR and LIBDEF in one rexx like

"ALLOCATE DATASET('MY.PLIB') FILE(ISPPUSR) SHR"
ADDRESS ISPEXEC
"LIBDEF ISPPLIB DATASET ID('SYS.PLIB') STACK"
'display panel(PANEL01)'
"LIBDEF ISPPLIB"
/*

but it is not work if the PANEL01 be issued in PRG01 like

"ALLOCATE DATASET('MY.PLIB') FILE(ISPPUSR) SHR"
ADDRESS ISPEXEC "SELECT PGM(PRG01) NEWAPPL(DSS) "

the display PANEL01 statement in PRG01 which cannot find the source,only compiled load can find.
i want to let the PRG01 to display my panel first
marshall25
 
Posts: 26
Joined: Mon Jun 20, 2011 9:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to set library search order in ISRDDN

Postby Pedro » Tue Apr 30, 2013 8:40 pm

The manual clearly states:
To allow the user to continue to define user-level libraries that are to be searched first,
these new ddnames must be specified in ALLOCATE commands before ISPF is invoked: <the list includes ISPPUSER>

The key is to allocate 'before ISPF is invoked'

I am surprised that this works:
"ALLOCATE DATASET('MY.PLIB') FILE(ISPPUSR) SHR"
ADDRESS ISPEXEC
"LIBDEF ISPPLIB DATASET ID('SYS.PLIB') STACK"
'display panel(PANEL01)'
"LIBDEF ISPPLIB"
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: How to set library search order in ISRDDN

Postby marshall25 » Thu May 02, 2013 7:18 am

Do you have any idea about my question? Pedro

[quote][/quote]"ALLOCATE DATASET('MY.PLIB') FILE(ISPPUSR) SHR"
ADDRESS ISPEXEC "SELECT PGM(PRG01) NEWAPPL(DSS) "

the display PANEL01 statement in PRG01 which cannot find the source,only compiled load can find.
i want to let the PRG01 to display my panel first
marshall25
 
Posts: 26
Joined: Mon Jun 20, 2011 9:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to set library search order in ISRDDN

Postby Pedro » Thu May 02, 2013 6:15 pm

Do you have any idea about my question?

I think you are asking how to use ISPPUSR.

My answer was that you need to allocate ISPPUSR before starting ISPF. Do you have any idea about my answer, Marshall25?

This is gibberish. Please explain:
which cannot find the source,only compiled load can find.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: How to set library search order in ISRDDN

Postby marshall25 » Fri May 03, 2013 7:26 am

see, i have a rexx which will execute PRG01, but i cannot find the program PRG01, and the panel display was executed in PRG01, now i want to edit this panel used my PLIB
marshall25
 
Posts: 26
Joined: Mon Jun 20, 2011 9:14 am
Has thanked: 0 time
Been thanked: 0 time


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post