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

Error in catalog procedure Jcllib


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mohamed Abdullah Dhaha

New User


Joined: 30 Dec 2008
Posts: 5
Location: Bangalore, India

PostPosted: Thu Jan 01, 2009 3:45 pm
Reply with quote

R08565.JCL.PDS1(CATPROC1)

Code:
000100 //CATPROC1 PROC                                   
000200 //STEP1 EXEC PGM=IEFBR14                         
000300 //DD1 DD DSN=&A,                                 
000400 //            DISP=(NEW,CATLG,DELETE),           
000410 //            VOLUME=SER=&VS,                     
000420 //            SPACE=(TRK,(1,2),RLSE),             
000430 //            DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
000800 //        PEND                                   

R08565.JCL.PDS1(MAINPRO1)

Code:
000100 //R08565 JOB NOTIFY=&SYSUID                         
000200 //NAME JCLLIB ORDER=R08565.JCL.PDS1                 
000300 //STEP2 EXEC CATPROC1,A=R08565.JCL.TESTPS4,VS=LEM001

Code:
 STMT NO. MESSAGE                                             
        2 IEFC004I OPEN OF JCLLIB DATASETS WAS NOT SUCCESSFUL
        3 IEFC612I PROCEDURE CATPROC1 WAS NOT FOUND           
        3 IEFC657I THE SYMBOL A WAS NOT USED                 
        3 IEFC657I THE SYMBOL VS WAS NOT USED

When I try this program, I got the above error message.. Guide me to find the error....
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 Jan 01, 2009 4:10 pm
Reply with quote

Hello and welcome to the forum,

It appears there is a problem with this dataset R08565.JCL.PDS1.

How was it created? What are the dataset attributes?
Back to top
View user's profile Send private message
Mohamed Abdullah Dhaha

New User


Joined: 30 Dec 2008
Posts: 5
Location: Bangalore, India

PostPosted: Thu Jan 01, 2009 4:31 pm
Reply with quote

More:
The data set information is:

Data Set Name . . . . : R08565.JCL.PDS1

General Data................ .................... Current Allocation
Management class . . : **None**.........Allocated blocks . : 312
Storage class . . . : IBMGRP................Allocated extents . : 8
Volume serial . . . : ETRU04
Device type . . . . : 3390
Data class . . . . . : **None**...........Current Utilization
Organization . . . : PO.....................Used blocks . . . . : 284
Record format . . . : FB....................Used extents . . . : 8
Record length . . . : 800
Block size . . . . : 800
1st extent blocks . : 39
Secondary blocks . : 5
Data set name type : PDS

Creation date . . . : 2008/12/23.......Referenced date . . : 2009/01/02
Expiration date . . : ***None***
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 Jan 01, 2009 4:39 pm
Reply with quote

Hello,

Suggest you copy the dataset to lrecl=80. For initial testing, that may get you moving.

If this is to move forward, suggest you talk with your storage management people and ask what blksize is preferred for PROClib datasets on your system.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Jan 01, 2009 4:48 pm
Reply with quote

From the fine manual:
Quote:
Explanation: The system could not open the data sets specified on a JCLLIB statement. This error may occur for the following reasons:

You are not authorized to use the data set or sets.

The data set does not have the appropriate data control block (DCB) information.

The data set does not exist on a volume to which it is cataloged


O.
Back to top
View user's profile Send private message
Mohamed Abdullah Dhaha

New User


Joined: 30 Dec 2008
Posts: 5
Location: Bangalore, India

PostPosted: Thu Jan 01, 2009 5:00 pm
Reply with quote

@dick scherrer
Thanks,
when I changed the lrecl=80, it is working well...
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 Jan 01, 2009 10:43 pm
Reply with quote

You're welcome - thank you for letting us know it is working icon_smile.gif

d
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 CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top