MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HURBA

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
mdisulaiman
Beginner


Joined: 14 Nov 2003
Posts: 17
Topics: 10

PostPosted: Wed Nov 19, 2003 12:13 am    Post subject: HURBA Reply with quote

Hai All,

I was trying to read a Ksds vasm file ,but couldn't open the file . Can any one say why?.How to over come this problem.

1.opening the file in input mode
2.when i try to read the file , it is saying SU000 errr .
_________________
sulaiman


Last edited by mdisulaiman on Wed Nov 19, 2003 10:28 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Wed Nov 19, 2003 1:37 am    Post subject: Reply with quote

We do not have crystal balls. You gave us no information, therefore you can not receive an answer. With what and how did you try to open it? Is your JCL OK?
Back to top
View user's profile Send private message Visit poster's website
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Wed Nov 19, 2003 10:54 am    Post subject: Reply with quote

If this is a COBOL program, you need to define a status key for the file and check its value after the close (and after every file operation). If it is non-zero, display the status-key and it will tell you what the error is. This is documented in the COBOL manuals for your version of COBOL.

Note added later: I meant 'after the open' of course...


Last edited by Mike Chantrey on Fri Nov 21, 2003 5:17 am; edited 1 time in total
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Thu Nov 20, 2003 10:36 am    Post subject: Reply with quote

Quote:
We do not have crystal balls.

whew, thank goodness
Back to top
View user's profile Send private message
mdisulaiman
Beginner


Joined: 14 Nov 2003
Posts: 17
Topics: 10

PostPosted: Thu Nov 20, 2003 11:25 am    Post subject: Reply with quote

Hai All,

Thanks for you inputs and comments . The problem is i din't init my vsam file
_________________
sulaiman
Back to top
View user's profile Send private message Send e-mail
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Fri Nov 21, 2003 10:14 pm    Post subject: Reply with quote

Quote:

We do not have crystal balls.


If we did, jockey shorts would have a hell of a lot more padding than they do today. Shocked

Regards, Jack.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group