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
______
JOINKEYS for Variable files
- sergeyken
- Posts: 458
- Joined: Wed Jul 24, 2019 10:12 pm
- Skillset: Assembler, JCL, Utilities, PL/I, C/C++, DB2, SQL, REXX, COBOL, etc. etc. etc.
- Referer: Internet search
Re: JOINKEYS for Variable files
Javas and Pythons come and go, but JCL and SORT stay forever.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1
- 3155
-
by sergeyken
View the latest post
Wed Jun 16, 2021 5:13 pm
-
- 5
- 3986
-
by sergeyken
View the latest post
Wed Jun 16, 2021 6:23 pm
-
-
Joining 2 vb files into vsam files ended error
by newbiemainframe » Thu Nov 12, 2020 7:59 am » in JCL - 1
- 1732
-
by NicC
View the latest post
Thu Nov 12, 2020 7:15 pm
-
-
- 1
- 4408
-
by TERMEN
View the latest post
Thu Mar 04, 2021 2:29 am
-
- 1
- 2114
-
by chaat
View the latest post
Wed Sep 22, 2021 11:40 pm