Are SORT FIELDS=COPY and OPTION COPY same?

SyncSort's Sort Product, SyncTool for z/OS, SYNCINIT and SYNCLIST.
Post Reply
durga
Registered Member
Posts: 53
Joined: Mon Jul 01, 2013 3:28 pm

Are SORT FIELDS=COPY and OPTION COPY same?

Post by durga »

Hi,

In SORT, are SORT FIELDS=COPY and OPTION COPY same? If yes, why they have created two options?
User avatar
Anuj Dhawan
Founder
Posts: 2802
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Are SORT FIELDS=COPY and OPTION COPY same?

Post by Anuj Dhawan »

There is no difference between SORT FIELDS=COPY and OPTION COPY.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Mukul Roy
Website Team
Website Team
Posts: 24
Joined: Wed Jul 17, 2013 9:07 am

Re: Are SORT FIELDS=COPY and OPTION COPY same?

Post by Mukul Roy »

Yes, they are equal. See this also: kb/viewarticle?a=25
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Are SORT FIELDS=COPY and OPTION COPY same?

Post by nicc »

No access to that page.
Regards
Nic
User avatar
Anuj Dhawan
Founder
Posts: 2802
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Are SORT FIELDS=COPY and OPTION COPY same?

Post by Anuj Dhawan »

nicc wrote: Mon Nov 12, 2018 3:00 pmNo access to that page.
Please try now.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Are SORT FIELDS=COPY and OPTION COPY same?

Post by nicc »

OK. Works now but... files should be data sets. Under zOS and its predecessors data is kept in data sets hence DSN= (or DSNAME=). And for a straight copy job IEBGENER or ICEGENER should be used. I believe DFSORT will invoke ICEGENER anyway for that sort of copy but why not give a little assist to the system and specify ICEGENER directly?

All off-topic!
Regards
Nic
durga
Registered Member
Posts: 53
Joined: Mon Jul 01, 2013 3:28 pm

Re: Are SORT FIELDS=COPY and OPTION COPY same?

Post by durga »

nicc wrote: Tue Nov 13, 2018 2:13 pmiles should be data sets. Under zOS and its predecessors data is kept in data sets hence DSN= (or DSNAME=). And for a straight copy job IEBGENER or ICEGENER should be used. I believe DFSORT will invoke ICEGENER anyway for that sort of copy but why not give a little assist to the system and specify ICEGENER directly?
Thanks. But what are you referring to?
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Are SORT FIELDS=COPY and OPTION COPY same?

Post by nicc »

But what are you referring to?
The link that Anuj shared.
Regards
Nic
Mukul Roy
Website Team
Website Team
Posts: 24
Joined: Wed Jul 17, 2013 9:07 am

Re: Are SORT FIELDS=COPY and OPTION COPY same?

Post by Mukul Roy »

nicc wrote: Tue Nov 13, 2018 2:13 pm And for a straight copy job IEBGENER or ICEGENER should be used
Is there a reason to use IEBGENER?
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Are SORT FIELDS=COPY and OPTION COPY same?

Post by nicc »

Is there a reason not to use IEBGENER? ICEGENER has a performance advantage, so I understand, but that would probably only be apparent when dealing with very large amounts of data. But IEBGENER has been the principle copy program for sequential data sets around the world for 50 years.
Regards
Nic
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SyncSort, SyncTool, SyncGener.”