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

JCL error: IEHLIST IEH103I INVALID CONTROL CARD


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 46
Location: mumbai

PostPosted: Tue Mar 13, 2007 7:41 am
Reply with quote

Hi All

Can any one tell me what does the below error is

the program is about listing the secondary catalog using IEHLIST

Code:

//STEP1 EXEC PGM=IEHLIST                                     
//SYSPRINT DD SYSOUT=*                                       
//DISK DD UNIT=3390,VOL=SER=WORKY1,DISP=OLD                 
//SYSIN DD *                                                 
    LISTCTLG CVOL=3390=WORKY1                               
/*                                                           

SYSPRINT MESSAGE


                              SYSTEMS SUPPORT UTILITIES---IEHLIST               
IEH103I  INVALID CONTROL CARD---    LISTCTLG CVOL=3390=WORKY1                   

can anyone explain me what does secondary catalog means.
Back to top
View user's profile Send private message
shashi_coep

New User


Joined: 19 Jan 2006
Posts: 2

PostPosted: Tue Mar 13, 2007 10:12 am
Reply with quote

I think you have not given the SYSIN and DISK dd correctly, Please have a look at this -
ibmmainframes.com/about2956.html
Back to top
View user's profile Send private message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 46
Location: mumbai

PostPosted: Tue Mar 13, 2007 10:36 am
Reply with quote

Hi

Again i am getting the different error
Code:
                                               
//STEP1 EXEC PGM=IEHLIST                                               
//SYSPRINT DD SYSOUT=*                                                 
//DISK DD UNIT=3390,VOL=SER=WORKY1,DISP=OLD                             
//SYSIN DD *                                                           
    LISTCTLG VOL=3390=WORKY1                                           
/*   


SYSPRINT statement

                              SYSTEMS SUPPORT UTILITIES---IEHLIST               
DATE: 1998.364  TIME: 10.21.39                                                 
 GENERAL INFORMATION FOR CATALOG ON VOL WORKY1                                 
 DS OR INDEX NAME         ENTRY TYPE              VOL.ID.   SEQ.NO.   DEV.TYPE 
IEH101I  NO CATALOG ON SPECIFIED VOLUME                                         
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Mar 13, 2007 8:28 pm
Reply with quote

Hello,

You have asked the system to list a catalog on a volume that has no catalog.

How did you choose WORKY1? Is there supposed to be a catalog there?
Back to top
View user's profile Send private message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 46
Location: mumbai

PostPosted: Wed Mar 14, 2007 12:33 pm
Reply with quote

Hello

I have various pds cataloged in this volume
so it should show the catalog entries
and Can you explain me what does secondary catalog means.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 14, 2007 8:25 pm
Reply with quote

Hello,

A PDS is not a catalog; it is just a file that has members (sometimes called a library). I believe you misunderstand what a catalog is.

When you specify DISP=(,CATLG,DELETE) and the step does not abend, an entry is made in the appropriate system catalog.

Please see your system support people for the catalog structure at your location.

As the message said - you are trying to list a catalog on a volume that has no catalog.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 15, 2007 5:31 am
Reply with quote

Hello,

After thinking about this a while, i am curious if what you might need is a catalog list (IDCAMS/LISTCAT) or possibly a listing of the datasets in the Volume Table of Contents (IEHLIST/LISTVTOC).

Please let us know if you have questions.
Back to top
View user's profile Send private message
devidas-patil

New User


Joined: 08 Jan 2007
Posts: 54
Location: pune

PostPosted: Thu Mar 15, 2007 9:29 am
Reply with quote

Hi Dick;
i wantto tell something i know about the catalog,
two tyep of catalog user catalog and system catalog
system catalog keep the information like what is the name of the file, what is space allocated, where it is stored and everthing regarding the all the file on the specific VOLUME( i mean the PDS as well as PS ) in the volume.
please let me know if i am wrong.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
Search our Forums:

Back to Top