Are SORT FIELDS=COPY and OPTION COPY same?
Are SORT FIELDS=COPY and OPTION COPY same?
Hi,
In SORT, are SORT FIELDS=COPY and OPTION COPY same? If yes, why they have created two options?
In SORT, are SORT FIELDS=COPY and OPTION COPY same? If yes, why they have created two options?
- Anuj Dhawan
- Founder
- Posts: 2816
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Are SORT FIELDS=COPY and OPTION COPY same?
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.
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.
Re: Are SORT FIELDS=COPY and OPTION COPY same?
Yes, they are equal. See this also: kb/viewarticle?a=25
- Anuj Dhawan
- Founder
- Posts: 2816
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Are SORT FIELDS=COPY and OPTION COPY same?
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.
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.
Re: Are SORT FIELDS=COPY and OPTION COPY same?
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!
All off-topic!
Regards
Nic
Nic
Re: Are SORT FIELDS=COPY and OPTION COPY same?
Thanks. But what are you referring to?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?
Re: Are SORT FIELDS=COPY and OPTION COPY same?
The link that Anuj shared.But what are you referring to?
Regards
Nic
Nic
Re: Are SORT FIELDS=COPY and OPTION COPY same?
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
Nic
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