| Author |
Message |
Topic: DFSORT VL-Problem |
zossy
Replies: 10
Views: 6323
|
Forum: Utilities Posted: Tue Sep 11, 2018 4:32 am Subject: DFSORT VL-Problem |
kolusu,
thanks a lot . With your suggestions I found this solution:
OPTION COPY
INREC IFTHEN=(WHEN=INIT,FINDREP=(IN=C' ',OUT=C'$' ... |
Topic: DFSORT VL-Problem |
zossy
Replies: 10
Views: 6323
|
Forum: Utilities Posted: Mon Sep 10, 2018 11:39 am Subject: DFSORT VL-Problem |
kolusu,
thank you for your answer again.
No, I don't need a full fixed length record.
I now found the following solution (in STEP0300) to archive the result:
OPTION COPY ... |
Topic: DFSORT VL-Problem |
zossy
Replies: 10
Views: 6323
|
Forum: Utilities Posted: Mon Sep 10, 2018 4:44 am Subject: DFSORT VL-Problem |
kolosu,
sorry for not explaining the intention of that. Of course, DFSORT always put the correct length in the RDW.
The record contains a record header including a repeat count and n repeats of ... |
Topic: DFSORT VL-Problem |
zossy
Replies: 10
Views: 6323
|
Forum: Utilities Posted: Fri Sep 07, 2018 8:09 am Subject: DFSORT VL-Problem |
The displayed output was after adding VLTRIM in STEP0300:
OPTION COPY
OUTREC IFTHEN=(WHEN=(5,3,CH,EQ,C'REC1'),
... |
Topic: DFSORT VL-Problem |
zossy
Replies: 10
Views: 6323
|
Forum: Utilities Posted: Fri Sep 07, 2018 4:14 am Subject: DFSORT VL-Problem |
kolusu,
Thank you for your explanation and ideas. The VLTRIM would be very nice, but the last data field can contain spaces as well.
So I modified your JCL with some "real" data:
//** ... |
Topic: DFSORT VL-Problem |
zossy
Replies: 10
Views: 6323
|
Forum: Utilities Posted: Thu Sep 06, 2018 5:20 am Subject: DFSORT VL-Problem |
Hi everybody!
I have a variable legth dataset with the following records
REC1rrraaaaaxaaaaax
REC2rrrbbbbbbbybbbbbbby
The parts aaaaax and bbbbbbby can by repeated 1 to 100 times counted in rrr ... |
| |