IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Difference between DFsort and SORT ?


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Rambhupal.chaudari

New User


Joined: 30 Mar 2007
Posts: 25
Location: Hyderabad

PostPosted: Sat Oct 24, 2009 12:59 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Oct 24, 2009 1:18 pm
Reply with quote

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
View user's profile Send private message
Rambhupal.chaudari

New User


Joined: 30 Mar 2007
Posts: 25
Location: Hyderabad

PostPosted: Sat Oct 24, 2009 2:34 pm
Reply with quote

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
View user's profile Send private message
Rambhupal.chaudari

New User


Joined: 30 Mar 2007
Posts: 25
Location: Hyderabad

PostPosted: Sat Oct 24, 2009 2:37 pm
Reply with quote

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
View user's profile Send private message
Steve Davies

New User


Joined: 15 Oct 2009
Posts: 32
Location: UK

PostPosted: Sat Oct 24, 2009 2:54 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Oct 24, 2009 2:54 pm
Reply with quote

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
View user's profile Send private message
Rambhupal.chaudari

New User


Joined: 30 Mar 2007
Posts: 25
Location: Hyderabad

PostPosted: Sat Oct 24, 2009 2:57 pm
Reply with quote

Thanks a lot Expat and Steve, for ur quick reply.

Hav a nice weekend.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Mon Oct 26, 2009 8:47 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts JCL sort card - get first day and las... JCL & VSAM 9
Search our Forums:

Back to Top