Hi everyone,
The below merge conditions using JCL statements shows me an error, I tried it but am unable to solve with that, I need your experience hands in solving this,
//JOB STATEMNT
//STEP1 EXEC PGM=SORT
//SYSPRINT DD SYSOUT=*
//SORTOUT DD SYSOUT=*
//SORTIN1 DD DSN=******.FINANCE.EMP,DISP=SHR
//SORTOUT DD DSN=*****.BACKUP.EMP,DISP=MOD
//SYSIN DD *
MERGE FIELDS=(5,2,CH,D)
/*
//
RECORDS IN FINANCE.EMP
001 cse 1005
002 ece 1111
008 mec 1007
014 cse 1222
077 aaa 1453
088 sss 1000
015 mmm 1005
RECORDS IN BACKUP.EMP
001 cse 1005
002 ece 1111
008 mec 1007
077 aaa 1453
015 mmm 1005
024 UTV 1017
028 MTV 1027
044 ATV 1113
012 ZZZ 1234
Kindly guide me what may be wrong in this.
Kind regards
gyaa