View previous topic :: View next topic
|
Author |
Message |
rahulcherekar
New User
Joined: 20 Feb 2007 Posts: 16 Location: New York
|
|
|
|
I'm using following sort card in job:
Code: |
OPTION COPY
OUTFIL OUTREC=(1,20,DATE1)
|
My job is giving Max CC = 0, but the output is still empty.
Thanks,
Rahul. |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
rahulcherekar,
if your Input file is empty, then your output also would be empty. if your intention is to create a header record even if your file is empty then use the following control cards
Code: |
//SYSIN DD *
SORT FIELDS=COPY
OUTFIL REMOVECC,HEADER1=(1,20,DATENS=(4MD))
/* |
|
|
Back to top |
|
|
rahulcherekar
New User
Joined: 20 Feb 2007 Posts: 16 Location: New York
|
|
|
|
Thanks Skolusu it worked. |
|
Back to top |
|
|
|