Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
VSAM initialization Error: VSAMFILE is Null

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

New User


Joined: 19 Nov 2005
Posts: 26
Location: Shanghai, China

PostPosted: Wed Apr 04, 2007 8:35 pm    Post subject: VSAM initialization Error: VSAMFILE is Null
Reply with quote

Hi,

I encounter a problem of VSAM.
Here's one job,
STEP1: DEL/DEFINE a new VSAMFILE
STEP2: Use this VSAMFILE as input to run a PGM
Because this VSAMFILE is Null, the opening in PGM is error.
But after viewing this file by STARTOOL, this error can be solved.

Is there any way can solve this problem without initializing this VSAMFILE by HIGH-VALUE or LOW-VALUE, for it's impossible to open this file manually during the running of the job.

Thanks & Best regards,
Ban
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Apr 04, 2007 10:25 pm    Post subject:
Reply with quote

What error do you get, exactly?
Back to top
View user's profile Send private message
luban

New User


Joined: 19 Nov 2005
Posts: 26
Location: Shanghai, China

PostPosted: Thu Apr 05, 2007 7:21 pm    Post subject:
Reply with quote

Hi William,

My error is open new VSAMFILE as input file failed.
After manually open this file, this job can run successfully.
Is there anyother way can solve this problem without open vsam manually first ?

Thanks & Best regards,
Ban
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8631
Location: Back in jolly old England

PostPosted: Thu Apr 05, 2007 7:25 pm    Post subject:
Reply with quote

I really don't know why so many people are against initialising a KSDS at creation time.

Just a simple job to load a low and high value records would stop all of these problems. It was the way it used to be done when I were a lad.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Thu Apr 05, 2007 7:26 pm    Post subject: Re: VSAM initialization Error: VSAMFILE is Null
Reply with quote

I agree. Isn't that a normal SOP?
Back to top
View user's profile Send private message
luban

New User


Joined: 19 Nov 2005
Posts: 26
Location: Shanghai, China

PostPosted: Thu Apr 05, 2007 7:46 pm    Post subject:
Reply with quote

Hi expat,

hehe, I am not against initialising a KSDS, actually it's the business request " P

Best regards,
Ban
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 Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us