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 

IOERR when set file open in my program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
waitling
Beginner


Joined: 12 Dec 2006
Posts: 15
Topics: 3

PostPosted: Fri Mar 09, 2007 9:16 am    Post subject: IOERR when set file open in my program Reply with quote

friends,

i just define a file named testfl,and allocate a DS to it.
i can open it using cemt and ceci set file open
but i can't open it in my program with the cics set file open,the
return resp is 17(IOERR).
why?what cause the IOERR happen when set file open in program?
thanks for your help!

Regards

by the way,i'm sure that it is closed before i want to set it open.
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Fri Mar 09, 2007 9:26 am    Post subject: Reply with quote

What did you use to define and create the file?
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Mar 09, 2007 10:41 am    Post subject: Reply with quote

waitling,

Did you create an entry in FCT table for the file you created?


Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
waitling
Beginner


Joined: 12 Dec 2006
Posts: 15
Topics: 3

PostPosted: Sat Mar 10, 2007 8:20 am    Post subject: Reply with quote

Nic Clouston,

i use the cics transaction ceda

kolusu,

yes
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Sat Mar 10, 2007 10:01 am    Post subject: Reply with quote

OK - that is my thought out of the picture. Someone else?
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
shagnwrx
Beginner


Joined: 06 Jul 2006
Posts: 14
Topics: 0
Location: Birmingham, AL

PostPosted: Tue Mar 13, 2007 4:14 pm    Post subject: Reply with quote

Might be a share options VSAM definition problem, or program usage problem, or a real live I/O error.

Check the Jeslog of the CICS region you're running in. Go to the approximate time in the Jeslog, and look for DFHFCnnnn messages. These will indicate what nature of your "IOERR".

That's all I got. If you see some messages for your file, post them up in this thread.
_________________
SCCA South East Division RallyCross
Back to top
View user's profile Send private message AIM Address
waitling
Beginner


Joined: 12 Dec 2006
Posts: 15
Topics: 3

PostPosted: Sun May 20, 2007 10:02 am    Post subject: Reply with quote

Hi shaqnwrx

thx for your attention!
i thought i had got the answer.
actually, the del/def/init VSAM file testfl at a step of a job , and exci link a online program to set it open at the following step of the same job.
maybe i should not take all the actions in a job.
am i right?!
however , if i'm right , another question rises. after the steps of del/def/init a VSAM file , but before the job done , what is the status of this file?why should i not set it open in the following step?
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sun May 20, 2007 3:41 pm    Post subject: Reply with quote

Is it enabled?
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
waitling
Beginner


Joined: 12 Dec 2006
Posts: 15
Topics: 3

PostPosted: Mon May 21, 2007 10:55 am    Post subject: Reply with quote

yes , it is .
however , i'll set it open and enabled if it is not enabled.
Back to top
View user's profile Send private message
shagnwrx
Beginner


Joined: 06 Jul 2006
Posts: 14
Topics: 0
Location: Birmingham, AL

PostPosted: Mon May 21, 2007 1:29 pm    Post subject: Reply with quote

It must be enabled, otherwise he'd get an AEXL abend.

Waitling, were you able to look at the Jes joblog for the CICS region? Also, post up the joblog for your batch job.
_________________
SCCA South East Division RallyCross
Back to top
View user's profile Send private message AIM Address
waitling
Beginner


Joined: 12 Dec 2006
Posts: 15
Topics: 3

PostPosted: Tue May 22, 2007 10:10 am    Post subject: Reply with quote

sorry, i can't access to the Jes joblog.
well , to better understand , i discribe the process of my test that day:
first , i wrote just one job to del/def/init a VSAM file(named testfl) and then to call online program to open it . as everyone of you see , IOERR.
then , i splited the job into two, one for del/def/init , the other for open, this time , it was ok.
so i think the key is that i should not do all the actions in just one job.
but why? i don't know.i just take it as a guildline from then on.
this is my question, i have posted it in the previous thread:
"however , if i'm right , another question rises. after the steps of del/def/init a VSAM file , but before the job done , what is the status of this file?why should i not set it open in the following step?"
Back to top
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Tue May 22, 2007 10:45 am    Post subject: Reply with quote

If I understand what I read, my guess is that the batch job might still have it enqued, preventing CICS from getting it.....
Back to top
View user's profile Send private message
Earl
Beginner


Joined: 09 Jun 2007
Posts: 26
Topics: 1

PostPosted: Sat Jun 09, 2007 1:16 pm    Post subject: Reply with quote

but i can't open it in my program with the cics set file open,the
return resp is 17(IOERR).

not sure what you mean by this. is this a CICS program or Batch. Question

if you are trying to issue CEMT commands from within a Batch cobol
program, not possible, unless you use something like BatchCICS-Connect
vendor product. go to www.batchcics.com Idea
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 -> CICS and Middleware 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