View previous topic :: View next topic
|
Author |
Message |
amit5657
New User
Joined: 13 Apr 2007 Posts: 8 Location: bang
|
|
|
|
Hi Friends,
I have written a job to unload data from a table to a file. I'm getting the abend S000 U0016.
My code is as follows:
Code: |
//SORTSQL EXEC PGM=SYNCSORT,PARM='DB2=DSN'
//SORTDBIN DD DISP=SHR,DSN=TSO6624.TSO6624.UT.COB(TBCL5G)
//SORTIN DD DUMMY
//SORTOUT DD DSN=TSO6624.TSO6624.UT.DATA1,
// DISP=(,CATLG,DELETE),
// LRECL=80,RECFM=FB,BLKSIZE=0,
// SPACE=(CYL,(500,50),RLSE)
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
/*
|
Please let me know what mistake I made.
Thanks and Regards |
|
Back to top |
|
|
amit5657
New User
Joined: 13 Apr 2007 Posts: 8 Location: bang
|
|
|
|
Hi,
For many jobs i submit .. I'm getting the following abend
"S000 U0016"
and the job wont apper in spool(start s.st) . Can anybody tell me what might be the mistake.
Regards |
|
Back to top |
|
|
kgumraj
Active User
Joined: 01 May 2006 Posts: 151 Location: Hyderabad
|
|
|
|
Hi,
I googled, and got little information, hope this was helpful
Quote: |
U0016:
If you have the SDSFDUMP DD statement in your TSO logon procedure, SDSF requests a dump after issuing the abend code. |
[/quote][/code] |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Can you post the error messages that the job produced. |
|
Back to top |
|
|
amit5657
New User
Joined: 13 Apr 2007 Posts: 8 Location: bang
|
|
|
|
I'm new to this enviornment .. I dont know where to look for the error messages .. Can please guide me. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
There can be a few reasons why they do not appear in the spool.
Are you using the correct MSGCLASS |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
In the output produced by the job, there will be error messages. |
|
Back to top |
|
|
amit5657
New User
Joined: 13 Apr 2007 Posts: 8 Location: bang
|
|
|
|
Yes i am using correct msgclass .. If the job is executed fine it showing in spool .. Only abended jobs are not going to spool |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Why is SORTIN dummyed and what is SORTDBIN? |
|
Back to top |
|
|
amit5657
New User
Joined: 13 Apr 2007 Posts: 8 Location: bang
|
|
|
|
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER468A DB2 QUERY SUPPORT ERROR: DB2 MODULES ARE NOT LINKED
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
This is what i got in spool |
|
Back to top |
|
|
|