Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Adding big TEXT lines to each record using SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SYNCSORT
View previous topic :: :: View next topic  
Author Message
bshkris

New User


Joined: 21 Mar 2005
Posts: 29
Location: pune

PostPosted: Sat May 06, 2017 1:40 am    Post subject: Adding big TEXT lines to each record using SORT
Reply with quote

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
Back to top
View user's profile Send private message

RahulG31

Active User


Joined: 20 Dec 2014
Posts: 444
Location: USA

PostPosted: Sat May 06, 2017 3:00 am    Post subject: Reply to: Adding big TEXT lines to each record using SORT
Reply with quote

For DFSORT:
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.icea100/ice2ca_Continuation_lines.htm

.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8400
Location: Dubuque, Iowa, USA

PostPosted: Sat May 06, 2017 3:00 am    Post subject: Reply to: Adding big TEXT lines to each record using SORT
Reply with quote

The first issue I see is that you posted in the DFSORT/ICETOOL forum and your messages are prefixed with WER, which means they come from SYNCSORT. There is a SYNCSORT forum you should have posted in.

The second issue I see is that you posted code without using the Code tag, so spacing is lost. We don't know if that comma at the end of your line is in column 68 or 72 -- and it could make a difference in this case.

The third issue I see is that you seem to be ignoring the error you are being given:
Code:
WER267A SORT STATEMENT : STATEMENT NOT FOUND
tells you pretty clearly what the problem is -- perhaps if you posted the full output we could identify more about the problem, but with what you've posted so far .... The issue does not appear to have anything to do with "Adding big TEXT lines to each record using SORT" so far.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2413
Location: @my desk

PostPosted: Sat May 06, 2017 4:11 am    Post subject:
Reply with quote

Topic moved to where it belongs.
Back to top
View user's profile Send private message
bshkris

New User


Joined: 21 Mar 2005
Posts: 29
Location: pune

PostPosted: Sat May 06, 2017 8:32 am    Post subject:
Reply with quote

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.icea100/ice2ca_Continuation_lines.htm

This link provided very useful info, problem solved.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SYNCSORT All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Get value from 2nd record and PUSH it... ashokakash JCL & VSAM 1 Wed Oct 17, 2018 11:41 am
No new posts Merge data from record pairs ashokakash DFSORT/ICETOOL 5 Wed Oct 17, 2018 11:38 am
No new posts Process only last key record in a fil... Naveen.katkuri24 DFSORT/ICETOOL 8 Tue Oct 09, 2018 9:39 am
No new posts Need help on the multiple files refor... wik123 DFSORT/ICETOOL 7 Wed Sep 19, 2018 10:47 am
No new posts SYNCSORT keep MIN/MAX record Cloink SYNCSORT 16 Mon Sep 17, 2018 3:00 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us