View previous topic :: View next topic
|
Author |
Message |
nani821
New User
Joined: 07 Nov 2022 Posts: 4 Location: India
|
|
|
|
HI am trying to get the matched rows from 2 varialbles, 1 input file is GDG and other one is VSAM, both files are variables and my o/p also variable file. I am using below SORT card but getting error.
SORT FILEDS=COPY
JOINKEYS FILE=F1,FIELDS=(29,20,A),TYPE=V
JOINKEYS FILE=F2,FIELDS=(4,10,A,16,10,A),TYPE=V
REFORMAT FIELDS=(F1:1,1200)
WER813I INSTALLATION OPTIONS IN MFX LOAD LIBRARY WILL BE USED
WER268A SORT STATEMENT : SYNTAX ERROR
Please help on this .
Thanks,
Nani |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1338 Location: Bamberg, Germany
|
|
|
|
No such thing FILEDS exists. RTFM.
Also, please use Code Tag button to present code/data here. |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1338 Location: Bamberg, Germany
|
|
|
|
After you have fixed that simple issue, you need to adjust the JOINKEYS FIELDS as these have to have the same amount/length of keys. To do that, see DD:JNF2CNTL, and use INREC for this task. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
Welcome!
Please use code tags going forward and moved to student section. |
|
Back to top |
|
|
|