Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
regarding sort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
Prokis

New User


Joined: 10 Dec 2004
Posts: 7
Location: bangalore

PostPosted: Tue Dec 14, 2004 12:31 pm    Post subject: regarding sort
Reply with quote

hi
good day to you,

i have one questin: while sorting what happens if the input dataset is empty. will it abends ? if yes what is the error code.

regards
prakash.
Back to top
View user's profile Send private message
References
anuradha

Global Moderator


Joined: 06 Jan 2004
Posts: 257

PostPosted: Tue Dec 14, 2004 3:21 pm    Post subject:
Reply with quote

Hi prakash,

Why dont you give a simple try for this.
Back to top
View user's profile Send private message
vishal_09

New User


Joined: 16 Feb 2005
Posts: 7
Location: hyderabad

PostPosted: Thu Feb 17, 2005 8:42 am    Post subject:
Reply with quote

hi
if u do not mention sort fields the jcl will not abend it will execute without giving any errors
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


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

PostPosted: Thu Feb 17, 2005 11:38 pm    Post subject:
Reply with quote

By default, DFSORT will sort, merge or copy an empty input file sucessfully as having no input records and no output records.

With z/OS DFSORT V1R5, you can use the NULLOUT installation or run-time option to tell DFSORT what to do when there are no records for the SORTOUT data set as follows:

NULLOUT=RC16 - issue message ICE206A, terminate, and give a return code of 16.

NULLOUT=RC4 - issue message ICE173I, set a return code of 4, and continue processing.

NULLOUT=RC0 (shipped default) - issue message ICE173I, set a return code of 0, and continue processing.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1