Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Help with SELECT command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 147
Location: United States

PostPosted: Tue Mar 18, 2014 1:06 am    Post subject: Help with SELECT command
Reply with quote

I'm not a CLIST/REXX expert, by any stretch of the imagination, but my interpretation of this statement is it will attempt to open a REXX or CLIST found in the normal search order:

"ISPEXEC SELECT CMD(CALL *(CAZPMSEL)) ",
" NEWAPPL(CAZ3) PASSLIB MODE(FSCR) "

My problem is, CAZPMSEL is in a load library, not a REXX or CLIST library.

Am I interpreting this statement correctly? I'm getting this error: MEMBER CAZPMSEL NOT FOUND WITHIN THE STANDARD SEARCH ORDER
Back to top
View user's profile Send private message

John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 147
Location: United States

PostPosted: Tue Mar 18, 2014 2:57 am    Post subject:
Reply with quote

It was moved from Rexx/CLIST? I don't understand.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2136
Location: Silicon Valley

PostPosted: Tue Mar 18, 2014 3:31 am    Post subject: Reply to: Help with SELECT command
Reply with quote

It would help if you issued PROFILE MSGID before invoking the exec. It should provide a messages number that you can search for.

If you say: SELECT CMD(%myprog)
It searches rexx and clist only.

If you say: SELECT CMD(myprog)
It searches rexx and clist followed by load module search.

If you say: CALL *(myprog)
It searches load modules only. This is probably where you are failing. How are you adding your library to the standard search order. Perhaps you can get by by adding to the ISPLLIB concatenation before you start ISPF.

Consider using LIBDEF followed by: SELECT PGM(myprog)
You should read the discussion of 'User link libraries' in the ISPF Services manual, under LIBDEF.
Back to top
View user's profile Send private message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 147
Location: United States

PostPosted: Tue Mar 18, 2014 4:01 am    Post subject:
Reply with quote

Thank you very much! That is just what I needed. I didn't know what it searched with this command. Now that I know, I found the problem. The library it needed to search should have been linklisted. It wasn't.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What 'EF' in the CAFC command REGION,... vrkratheesh CICS 2 Wed Sep 18, 2019 4:52 pm
No new posts Select based on a range from a differ... sergeyken SYNCSORT 2 Fri Aug 16, 2019 12:37 am
This topic is locked: you cannot edit posts or make replies. Select based on a range from a differ... vamsimul SYNCSORT 13 Tue Aug 13, 2019 12:36 pm
No new posts Verify WITH UR present inside program... priyankakir CLIST & REXX 23 Wed Jun 12, 2019 3:37 pm
No new posts SDSF REXX for DB2 command output vasanthz CLIST & REXX 2 Thu Apr 25, 2019 11:29 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us