View previous topic :: View next topic
|
Author |
Message |
Rambhupal.chaudari
New User
Joined: 30 Mar 2007 Posts: 25 Location: Hyderabad
|
|
|
|
Hi,
Can some one please clarify my query. Below is my jcl
//S1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD *
FIRST RECORD
/*
//SORTOUT DD DUMMY
//SYSIN DD *
OPTION COPY
/*
While executing above jcl with Sort it is working fine, howevr while using DFSORT instead of SORT am getting S806 Abend.
Thanks in advance.
Ram. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
PGM=SORT is what invokes the sort product at your site.
To find out which one - - -
WER messages indicate that it is SYNCSORT
ICE messages for DFSORT
CA messages for CA-SORT
PGM= calls a program for execution, and for it to work without S806 the member name must exist in the load library or LNKLST, or an alias with that name.
It is most usual just to use PGM=SORT
I know that DFSORT can also be invoked by PGM=ICEMAN |
|
Back to top |
|
|
Rambhupal.chaudari
New User
Joined: 30 Mar 2007 Posts: 25 Location: Hyderabad
|
|
|
|
Hi Expat,
I have checked in spool,
In sysout it is showing ICE201I E, it clearly says that am using DFSORT.
But i dont know exactly why it is giving abend when i use DFSORT instead of SORT. |
|
Back to top |
|
|
Rambhupal.chaudari
New User
Joined: 30 Mar 2007 Posts: 25 Location: Hyderabad
|
|
|
|
Expat,
When i use ICETOOL/ICEMAN it is working fine.
Only in case of DFSORT it is giving abend.
In MY shop we are using IBM sort Product. |
|
Back to top |
|
|
Steve Davies
New User
Joined: 15 Oct 2009 Posts: 32 Location: UK
|
|
|
|
expat wrote: |
PGM=SORT is what invokes the sort product at your site.
|
There's a clue here! So if you specify SORT - it will envoke DFSORT if that's what is installed. A program called DFSORT will not exist, hence your abend.
So leave your JCL as PGM=SORT. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
expat wrote: |
PGM= calls a program for execution, and for it to work without S806 the member name must exist in the load library or LNKLST, or an alias with that name. |
|
|
Back to top |
|
|
Rambhupal.chaudari
New User
Joined: 30 Mar 2007 Posts: 25 Location: Hyderabad
|
|
|
|
Thanks a lot Expat and Steve, for ur quick reply.
Hav a nice weekend. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
To sum up:
PGM=SORT and PGM=ICEMAN are valid ways to call DFSORT because the program is shipped with those entry points. PGM=DFSORT is NOT a valid way to call DFSORT because the program is NOT shipped with that entry point. |
|
Back to top |
|
|
|