Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

SYNCSORT :: RE: JOINKEYs and Variable files

$
0
0
Author: Bill Woodger
Subject: Reply to: JOINKEYs and Variable files
Posted: Sat Jun 18, 2016 12:43 am (GMT 5.5)

On top of that, REFORMAT records with two variable parts are... exciting.

You have two, more useful, possibilities: use a fixed-length REFORMAT record, and FTOV/CONVERT with VLTRIM on the OUTFILs; use one fixed-length source and one variable-length, and only one FTOV/CONVERT in OUTFIL.

It's also not clear what limitation you came across in the JOINKEYS which means you've stuck to 64 bytes.

Presuming that your data is in key order, use SORTED on each of the JOINKEYS statements. If not in key order, then you may be representing an artificial picture.


Viewing all articles
Browse latest Browse all 8500

Trending Articles