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

DFSORT R14 version OPTION VSAMEMT not effect???


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shihua

New User


Joined: 27 May 2005
Posts: 6
Location: Shanghai, China

PostPosted: Sat Jun 04, 2005 9:18 am
Reply with quote

Hi,

I encounter a problem about the SORT OPTION VSAMEMT,

from the DFSORT R14 manual, we can see 'VSAMEMT' allow
to process empty VSAM input file, the job will can continue.

but actually I failed. Can anybody help explaine why?

Pls. see the following detail info:

Code:

ICE000I J - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 -
            SORT FIELDS=(1,22,CH,A)                                             
            OPTION VSAMEMT                                                     
            INCLUDE COND=(96,2,CH,EQ,C'R3')                                     
            RECORD TYPE=F,LENGTH=1000                                           
            END                                                                 
ICE078A J VSAM OPEN ERROR (168) SORTIN                                         
ICE052I J END OF DFSORT
Back to top
View user's profile Send private message
Alain Benveniste

New User


Joined: 14 Feb 2005
Posts: 88

PostPosted: Sat Jun 04, 2005 1:06 pm
Reply with quote

Shihua,

In most common case, open error X'A8'(168) means that your file is already in use.

Alain
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Sat Jun 04, 2005 8:30 pm
Reply with quote

DFSORT issued the following error message:

ICE078A J VSAM OPEN ERROR (168) SORTIN

If you look up the ICE078A error message, it says:

***
nnn is the VSAM OPEN ERROR return code (ACBERFLG) in decimal, for the data set with the indicated ddname.

Refer to Macro Instructions for Data Sets for the meaning of the error code and, if possible, take appropriate action.
***

In this case nnn is 168 and the indicated ddname is SORTIN.

If you look up the 168 code in Macro Instructions for Data Sets, it says:

***
The data set was not available for the type of processing that you specified. Or, an attempt was made to open a reusable data set with the reset option while another user had the data set open. The data set might have the INHIBIT attribute specified.

The data set cannot be opened for CBUF processing because it was already opened for non-CBUF processing. Or, the data set has conflicting CBUF attributes for the data and index components of the ACB.

For MACRF=RLS, an attempt was made to access a data set with NSR/LSR/GSR and the data set is currently accessed by RLS or DFSMStvs, or vice versa. Or, an attempt was made to access the data set with NSR/LSR/GSR and the data set is in lost or retained locks state.

For a USS file, the file has a file type that is not supported (for example, directories are not supported).
***

You need to figure out which of these cases is preventing you from opening the VSAM data set. I don't think it actually has anything to do with the VSAMEMT option.
Back to top
View user's profile Send private message
shihua

New User


Joined: 27 May 2005
Posts: 6
Location: Shanghai, China

PostPosted: Sat Jun 04, 2005 9:26 pm
Reply with quote

Hi,

I have re-test the case:

Yes, the error not related to VSAMEMT option.
The following is the conclusion:

1. if the input VSAM file is empty and is opened by CICS, the sort abend;
2. if the input VSAM file is empty and is not opend by CICS, the sort OK;
3. if the input VSAM file is not empty and the sort is OK no matter if the file was opened by CICS.

From the beginning, I just question the error is related to the option VSAMEMT because the input VSAM file is empty but the test result is
not like that.

Thanks.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top