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

SYNCSORT :: Adding big TEXT lines to each record using SORT

$
0
0
Author: bshkris
Subject: Adding big TEXT lines to each record using SORT
Posted: Sat May 06, 2017 1:40 am (GMT 5.5)

I have another block with SORT.
I need to append the message to my input record. The out file have 250 bytes length.
Now, I want add( I/p rec + message).

I have my SORT card as below.

SORT FIELDS=COPY
OUTREC FIELDS=(1,23,1Z,
C'- 2 OR MORE SCHD DRILL RECORDS FOR THE SAME CCT NO, CPY NO WERE',
C'RECEIVED WITH THE SAME DRILL DATE ONCE REC WAS ACCEPTED.')
END


SPOOL msg:

WER813I INSTALLATION OPTIONS IN MFX LOAD LIBRARY WILL BE USED
WER276B SYSDIAG= 64249, 5120048, 5120048, 15990575
WER164B 1,028K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED
WER164B 0 BYTES RESERVE REQUESTED, 1,000K BYTES USED
WER146B 20K BYTES OF EMERGENCY SPACE ALLOCATED
WER267A SORT STATEMENT : STATEMENT NOT FOUND
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE

But the above one is syntax issue.
Please throw some ideas how we can add the multiple line messages to a record using SORT.

Read more: http://ibmmainframes.com/viewtopic.php?t=65909&highlight=#ixzz4gEl3Vww5
_________________
hi, good luck, keep in touch


Viewing all articles
Browse latest Browse all 8500

Trending Articles