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 DSCB RECORD NOT FOUND IN VTOC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 47
Location: mumbai

PostPosted: Wed Mar 21, 2007 1:20 am    Post subject: Error DSCB RECORD NOT FOUND IN VTOC
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

Site Director


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

PostPosted: Wed Mar 21, 2007 2:22 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Mar 21, 2007 1:26 pm    Post subject:
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    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 Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


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