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
 
PARM='VSAMEMT=YES'

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: PARM='VSAMEMT=YES'
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

Active Member


Joined: 08 May 2006
Posts: 998
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Jun 24, 2008 1:20 pm    Post subject:
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 Moderator


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

PostPosted: Tue Jun 24, 2008 7:52 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Fri Jun 27, 2008 11:32 am    Post subject:
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):

http://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    Post subject:
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    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 Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm
No new posts Copy a particular column based on PAR... brindhamohan DFSORT/ICETOOL 5 Wed May 11, 2016 8:49 am
No new posts Use of Parm in SORT Ambili S DFSORT/ICETOOL 2 Mon May 09, 2016 9:16 pm
No new posts symbolic parm - allocate dsn krrp JCL & VSAM 11 Sat Oct 31, 2015 8:27 pm

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