Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Difference between DFsort and SORT ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Difference between DFsort and SORT ?
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: 8593
Location: Back in jolly old England

PostPosted: Sat Oct 24, 2009 1:18 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sat Oct 24, 2009 2:54 pm    Post subject:
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    Post subject:
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 Moderator


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

PostPosted: Mon Oct 26, 2009 8:47 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us