I am trying to concatenate four VB datasets (Lrecl: 62, 47, 88 and 92) into a single FB dataset (Lrecl 89). This out put dataset is a multivolume dataset.
I am getting the error "ICE220A 3 OUT1 COULD NOT BE USED - REASON CODE IS 03."
Below is the step that is concatenating the datasets (Dataset's and Vol ser no changed).
Before getting this error I was using the Vol ser no in the reversed order of the one shown aove (IINDS0 through IINDS6) and In that case I recieved SE37 Abend. Just for a check, I then changed the order of the Vol ser nos (IINDS6 through IINDS0) and started recieveing ICE220A 3"
Would you pls let me know what is going wrong here? Can I user multiple volumes in DFSORT. How can I fix this?'
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
It appears that you are trying to write more data that there is free space for your output allocation.
There is no out1. . .
Suggest you talk with your storage admins for guidance on the proper allocation for this output file on your system. Most systems do not require/support naming specific volsers when creating dasd files.
I am very Sorry, my interpretation was wrong. I am actually facing probelm in the next step of the above shown step. 'Step030' Where I am trying to search the above concatenated output for some strings using "ICETOOL".
Pls help me in finding out the problem here. Is the problem because I am not using SORTWK's?
If yes, then if I use 7 SORTWK's (Giving in all the 7 vols), then the space utilized by SORTWK's would be freed after the execution of ICETOOL. Pls correct me if I am wrong?
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
Quote:
ICE220A ddname COULD NOT BE USED - REASON CODE IS nn Explanation: Critical. The OUTFIL data set associated with ddname could not be processed. nn is the reason code value, as follows:
1 An attempt to OPEN the OUTFIL tape data set to retrieve its attributes failed.
2 The OUTFIL data set resided on an unsupported device.
3 An attempt to read the DSCB for the OUTFIL data set failed.
4 The OUTFIL data set was BDAM.
System action: The program terminates.
Programmer response: Correct the situation indicated by the reason code.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
3 An attempt to read the DSCB for the OUTFIL data set failed.
This has nothing to do with your control statements or SORTWKdd data sets.
It appears that there is a problem with the multivolume data set you used for OUT1. Anyone on this board would just be guessing about what the problem is. Given that, is the OUT1 data set a new data set or an existing data set? Could the use of MOD be the problem? Have you tried this with a NEW data set?