Page 1 of 1

Question on MERGE in SORT.

Posted: Tue May 21, 2024 8:57 am
by LearnMainframe
Hi All,

I have query I want to merge 3 files and remove the duplicate in Sort jcl . I am using merge fields with sum field but it's giving me syntax error. Am I doing right for this requirement?

Code: Select all

Merge fields=Sum fields=NONE
[/color]

Re: Question on MERGE in SORT.

Posted: Tue May 21, 2024 12:36 pm
by Anuj Dhawan
Hi,

You might want to show the actual SORT statements you have used, that'll help.

Re: Question on MERGE in SORT.

Posted: Mon Jun 03, 2024 10:31 am
by LearnMainframe

Code: Select all

Sysin dd *
Merge fields=(1,10,CH,A,1,10,CH,A,1,10,CH,A)
Sum fields=None
/*
[/color]

Is there something wrong in this?

Re: Question on MERGE in SORT.

Posted: Tue Mar 24, 2026 1:20 pm
by LearnMainframe
I know this is old, though could you please guide.

Re: Question on MERGE in SORT.

Posted: Tue Mar 24, 2026 2:09 pm
by enrico-sorichetti
instad of describing what you think happened,
post the jcl and the submitted job output