|
|
| Author |
Message |
Prokis
New User
Joined: 10 Dec 2004 Posts: 7 Location: bangalore
|
|
|
|
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 |
|
 |
References
|
|
 |
anuradha
Global Moderator
Joined: 06 Jan 2004 Posts: 257
|
|
|
|
Hi prakash,
Why dont you give a simple try for this. |
|
| Back to top |
|
 |
vishal_09
New User
Joined: 16 Feb 2005 Posts: 7 Location: hyderabad
|
|
|
|
hi
if u do not mention sort fields the jcl will not abend it will execute without giving any errors |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Moderator
Joined: 15 Feb 2005 Posts: 4579 Location: San Jose, CA
|
|
|
|
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 |
|
 |
|
|