| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| waitling Beginner
 
 
 Joined: 12 Dec 2006
 Posts: 15
 Topics: 3
 
 
 | 
			
				|  Posted: Fri Mar 09, 2007 9:16 am    Post subject: IOERR when set file open in my program |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| Nic Clouston Advanced
 
 
 Joined: 01 Feb 2007
 Posts: 1075
 Topics: 7
 Location: At Home
 
 | 
			
				|  Posted: Fri Mar 09, 2007 9:26 am    Post subject: |   |  
				| 
 |  
				| What did you use to define and create the file? _________________
 Utility and Program control cards are NOT, repeat NOT, JCL.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Fri Mar 09, 2007 10:41 am    Post subject: |   |  
				| 
 |  
				| waitling, 
 Did you create an entry in FCT table for the file you created?
 
 
 Kolusu
 _________________
 Kolusu
 www.linkedin.com/in/kolusu
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| waitling Beginner
 
 
 Joined: 12 Dec 2006
 Posts: 15
 Topics: 3
 
 
 | 
			
				|  Posted: Sat Mar 10, 2007 8:20 am    Post subject: |   |  
				| 
 |  
				| Nic Clouston, 
 i use the cics transaction ceda
 
 kolusu,
 
 yes
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Nic Clouston Advanced
 
 
 Joined: 01 Feb 2007
 Posts: 1075
 Topics: 7
 Location: At Home
 
 | 
			
				|  Posted: Sat Mar 10, 2007 10:01 am    Post subject: |   |  
				| 
 |  
				| OK - that is my thought out of the picture. Someone else? _________________
 Utility and Program control cards are NOT, repeat NOT, JCL.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| shagnwrx Beginner
 
 
 Joined: 06 Jul 2006
 Posts: 14
 Topics: 0
 Location: Birmingham, AL
 
 | 
			
				|  Posted: Tue Mar 13, 2007 4:14 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| waitling Beginner
 
 
 Joined: 12 Dec 2006
 Posts: 15
 Topics: 3
 
 
 | 
			
				|  Posted: Sun May 20, 2007 10:02 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| dbzTHEdinosauer Supermod
 
 
 Joined: 20 Oct 2006
 Posts: 1411
 Topics: 26
 Location: germany
 
 | 
			
				|  Posted: Sun May 20, 2007 3:41 pm    Post subject: |   |  
				| 
 |  
				| Is it enabled? _________________
 Dick Brenholtz
 American living in Varel, Germany
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| waitling Beginner
 
 
 Joined: 12 Dec 2006
 Posts: 15
 Topics: 3
 
 
 | 
			
				|  Posted: Mon May 21, 2007 10:55 am    Post subject: |   |  
				| 
 |  
				| yes , it is . however , i'll set it open and enabled if it is not enabled.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| shagnwrx Beginner
 
 
 Joined: 06 Jul 2006
 Posts: 14
 Topics: 0
 Location: Birmingham, AL
 
 | 
			
				|  Posted: Mon May 21, 2007 1:29 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| waitling Beginner
 
 
 Joined: 12 Dec 2006
 Posts: 15
 Topics: 3
 
 
 | 
			
				|  Posted: Tue May 22, 2007 10:10 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| CICS Guy Intermediate
 
 
 Joined: 30 Apr 2007
 Posts: 292
 Topics: 3
 
 
 | 
			
				|  Posted: Tue May 22, 2007 10:45 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| Earl Beginner
 
 
 Joined: 09 Jun 2007
 Posts: 26
 Topics: 1
 
 
 | 
			
				|  Posted: Sat Jun 09, 2007 1:16 pm    Post subject: |   |  
				| 
 |  
				| 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.
   
 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
  |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |