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

Error DSCB RECORD NOT FOUND IN VTOC


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: Wed Mar 21, 2007 1:20 am
Reply with quote

Hi All

Can anyone solve this error

//MYJOB JOB 'BHAVESH',NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEFBR14
//INFILE DD DSN=OSOP.BCB1O.TESTGDG(+1),
// DISP=(NEW,CATLG,DELETE),
// UNIT=3390,VOL=SER=WORKY1,
// SPACE=(TRK,(20,10),RLSE),
// DCB=(RECFM=FB,
// LRECL=80,
// BLKSIZE=800)
//


JESYSMSG

ICH70001I BCB1O LAST ACCESS AT 01:10:25 ON WEDNESDAY, MARCH 21, 2007
IEF218I MYJOB STEP1 INFILE - PATTERN DSCB RECORD NOT FOUND IN VTOC
IEF272I MYJOB STEP1 - STEP WAS NOT EXECUTED.
IEF373I STEP/STEP1 /START 2007080.0111
IEF374I STEP/STEP1 /STOP 2007080.0111 CPU 0MIN 00.00SEC SRB 0MIN 00.00S
IEF375I JOB/MYJOB /START 2007080.0111
IEF376I JOB/MYJOB /STOP 2007080.0111 CPU 0MIN 00.00SEC SRB 0MIN 00.00S
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 21, 2007 2:22 am
Reply with quote

Hello,

A gdg needs a DSCB to reference. Your best bet is talk with the storage management people at your location. Different sites have different methods of handling the "pattern" or "model" dscb. Sometimes it is "DCB=MODEL.DSCB ", but it is best to check how it should be at your installation.

On another note, why are you creating a +1 with IEFBR14? You would be better off using IEBGENER. Unless all of the dasd you will allocate on is sms-managed, BR14 can cause problems.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Mar 21, 2007 1:26 pm
Reply with quote

If you have SMS installed at your site go see the storage guys an ask them to define a dummy DATACLAS that will be allocated to ALL[/] GDG datasets. This dummy DATACLAS whould not allocate any atrributes such as LRECL or RECFM or space or ................ ad infinitum

This will work for [b]EVERY
GDG that is created be it DASD, Tape, SMS or non SMS.

As an aside why do people code DCB=(blah blah blah) for an SMS managed GDG I would code
Code:

//INFILE   DD DSN=OSOP.BCB1O.TESTGDG(+1),
//          DISP=(NEW,CATLG,DELETE),
//         SPACE=(TRK,(20,10),RLSE),
//         RECFM=FB,LRECL=80

Why code a BLKSIZE ??? SDB has been around for years and is far more efficient than you allocating your own blocksize parameters.
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 How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts Error when install DB2 DB2 2
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top