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

Vsam error 168 when Iam trying to repro it


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sravanthi modugu

New User


Joined: 28 May 2008
Posts: 2
Location: Bangalore

PostPosted: Fri May 30, 2008 12:59 pm
Reply with quote

Hi,

I have created a new VSAM file and when Iam trying to repro it frm the sequential file I am getting the VSAM error 168.

Please let me know what could be the problem?


Thanks in Advance,
Sravanthi M
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 30, 2008 1:04 pm
Reply with quote

what about giving a bit more of info and posting ...

JCL

OUTPUT of the run
Back to top
View user's profile Send private message
Sravanthi modugu

New User


Joined: 28 May 2008
Posts: 2
Location: Bangalore

PostPosted: Fri May 30, 2008 1:31 pm
Reply with quote

Please find the attachment for the Job and output details

for the first time I have created the KSDS and fr each run I am deleting the existing definition and Redefining.

The vsam file is getting creating each time but when it comes to opening of a file for reproing it's giving the error


Thanks,
Sravanthi M
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 30, 2008 1:44 pm
Reply with quote

please do not use attachments, they are just a waste of space and many people
are not able to open them

paste things with the code tags ( they are also much more readable )

the jcl as posted is wrong
it' s a bad practice to have dd pointing to datasets which are going to be deleted and defined in the same step

as a first debugging step try to run the define and the repro as two different steps
or for the repro insted of using the outfile use the outdataset

since it' s a bad practice ...
I never used the outfile in the same step as the delete/define
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 Access to non cataloged VSAM file JCL & VSAM 18
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top