IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

LISTCAT CATALOG - not found


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ANKIT GUJRATI

New User


Joined: 22 Mar 2011
Posts: 4
Location: india

PostPosted: Tue Mar 22, 2011 9:53 am
Reply with quote

B = 'IDCL39'
"PROFILE PREFIX (B)"
"LISTCAT CATALOG ("B")"
EXIT
why this give catalog not found?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue Mar 22, 2011 11:21 am
Reply with quote

because the catalog specified was not found - maybe does not exist
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Mar 22, 2011 11:56 am
Reply with quote

searching the manual for message You received will tell the reason
Back to top
View user's profile Send private message
ANKIT GUJRATI

New User


Joined: 22 Mar 2011
Posts: 4
Location: india

PostPosted: Tue Mar 22, 2011 12:15 pm
Reply with quote

oh when i use two characers like AB instead of B its working.
Thanks all for reply
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Mar 22, 2011 2:10 pm
Reply with quote

What are we talking about here? icon_eek.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Mar 22, 2011 2:13 pm
Reply with quote

the issue does not make any sense !
but, since the TS found a solution and he is happy... we are happy
36_2_35.gif
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Tue Mar 22, 2011 7:37 pm
Reply with quote

Based on the first two lines, I would have expected this form of the LISTCAT command
Code:
"LISTCAT LEVEL("B")"


NOTE: I think the PROFILE is superfluous with regard to LISTCAT
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Mar 22, 2011 8:45 pm
Reply with quote

I do not have the system up right now,

IIRC doing a listcat catalog(<some_high_level_qualifier>)
will , if the <some_high_level_qualifier> is an alias, list the catalog pointed to by the alias,
and possibly catalog not found if no alias exists!

I' ll check later and post!
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Mar 22, 2011 9:03 pm
Reply with quote

ANKIT GUJRATI wrote:
B = 'IDCL39'
"PROFILE PREFIX (B)"
"LISTCAT CATALOG ("B")"
EXIT
why this give catalog not found?


I tried a few things and never received a "catalog not found" message.
Instead I received:
IDC3012I ENTRY B. NOT FOUND+
and
IDC3016I CATALOG IS NOT AVAILABLE+

PLEASE SEND EXACT INFORMATION !!! icon_evil.gif icon_evil.gif

Note that the B in the PROFILE command is within the quotes.
Which means it will list all entries starting with B. in catalog IDCL39.
(In this case, it seems the PREFIX acts as a filter on the LISTC output. I didn't knew that)
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts A directory in the pathname was not f... ABENDS & Debugging 0
No new posts I need a 4 lines block where substrin... DFSORT/ICETOOL 12
No new posts DASD - non SMS - volser change - VSAM... JCL & VSAM 2
No new posts Routine not found... CLIST & REXX 6
Search our Forums:

Back to Top