Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Error in catalog procedure Jcllib

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Error in catalog procedure Jcllib
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

Site Director


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

PostPosted: Thu Jan 01, 2009 4:10 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Thu Jan 01, 2009 4:39 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Thu Jan 01, 2009 4:48 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Thu Jan 01, 2009 10:43 pm    Post subject: Reply to: Error in catalog procedure Jcllib
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us