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

PARM='VSAMEMT=YES'


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

New User


Joined: 12 Jun 2008
Posts: 26
Location: chennai

PostPosted: Tue Jun 24, 2008 11:30 am
Reply with quote

Hi,

I have the parm parameter for sort PARM='VSAMEMT=YES' which will help us not to abend the job if the input vsam file is empty.

general scenario is when PARM='VSAMEMT=YES' is not specified for PGM=SORT the job will abend if the vsam file is empty...

soo are there any parm parameter for sort just like above..

Thanks
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Jun 24, 2008 1:20 pm
Reply with quote

Hi,
I'd suggest running DFSORT step using COUNT with EMPTY to set a cond code when the file is empty. You can then use the cond code to bypass the step that would abend with an empty file.

Regards,
Garry.
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: Tue Jun 24, 2008 7:52 pm
Reply with quote

chennai,

DFSORT's VSAMEMT=YES parameter specifies that DFSORT accepts an empty VSAM input data set and processes it as having zero records.

Quote:
soo are there any parm parameter for sort just like above.


I don't understand your question. Please state what you're trying to do more clearly.

If you want to set a non-zero return code for an empty output file, you can use DFSORT's NULLOUT or NULLOFL parameter.
Back to top
View user's profile Send private message
chennai

New User


Joined: 12 Jun 2008
Posts: 26
Location: chennai

PostPosted: Fri Jun 27, 2008 10:51 am
Reply with quote

Hi frank,
thanks for ur reply...just want to know other than PARM='VSAMEMT=YES' parameter sending for sort do we have any other list of parameter we can pass to sort...

Hope you go the question now.

thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 27, 2008 11:32 am
Reply with quote

Hello,

Quote:
do we have any other list of parameter we can pass to sort...
Yes, there are many. . .

Look here (which is from the "DFSORT/ICETOOL Programming Guide" available via the "IBM Manuals" link at the top of the page):

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/ice1ca10/2.3.2
Back to top
View user's profile Send private message
chennai

New User


Joined: 12 Jun 2008
Posts: 26
Location: chennai

PostPosted: Fri Jun 27, 2008 12:38 pm
Reply with quote

Thanks dick...will look into that and will come back if any questions
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 JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Passing parm from JCL to Assembler, b... PL/I & Assembler 2
No new posts Using PARM=('JPn"&SYMBOL&quo... DFSORT/ICETOOL 2
Search our Forums:

Back to Top