Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
DFSORT R14 version OPTION VSAMEMT not effect???

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: DFSORT R14 version OPTION VSAMEMT not effect???
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    Post subject: Re: DFSORT R14 version OPTION VSAMEMT not effect???
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 Moderator


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

PostPosted: Sat Jun 04, 2005 8:30 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us