Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Inefficient use of INREC error in Syncsort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
itjagadesh

New User


Joined: 05 Dec 2006
Posts: 89
Location: chennai

PostPosted: Fri May 22, 2009 4:57 pm    Post subject: Inefficient use of INREC error in Syncsort
Reply with quote

My input files have HDR, Detail and TRL records and the LRECL is 80. I want to combine all the input records by adding 1 byte sort key at 81th position (if HDR means 0, TRL means 9) and then need to write into outrec file 1-80th position using the key at 81th position. While doing this, I am getting "INEFFICIENT USE OF INREC" message in the sysout. Could please tell me how to solve this?
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Fri May 22, 2009 5:26 pm    Post subject:
Reply with quote

Hello There,

Would you please provide your sort card , sample i/p ,o/p and error message?
Back to top
View user's profile Send private message
itjagadesh

New User


Joined: 05 Dec 2006
Posts: 89
Location: chennai

PostPosted: Fri May 22, 2009 6:01 pm    Post subject:
Reply with quote

SYSIN:
INREC FIELDS=(1:80,81:1,3,CHANGE=
(1,C'HDR',C'0',C'TRL',C'9'),NOMATCH=(C'1'))
SORT FIELDS=(81,1,CH,A)
OUTREC FIELDS=(1,80)

INPUT:
1234567
HDR
7890123
1234556
TRL

OUTPUT:
HDR
1234567
7890123
1234556
TRL
Back to top
View user's profile Send private message
itjagadesh

New User


Joined: 05 Dec 2006
Posts: 89
Location: chennai

PostPosted: Fri May 22, 2009 6:04 pm    Post subject:
Reply with quote

I am able to execute the sortcard successfully....But i am also getting the "POTENTIALLY INEFFICIENT USE OF INREC message in the sysout.
May i know why this message is coming in the sysout? How to solve this?
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Fri May 22, 2009 7:44 pm    Post subject:
Reply with quote

Which sort product you are using?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri May 22, 2009 8:29 pm    Post subject:
Reply with quote

If you post the complete SYSOUT form the job you execute -- one would be able to sugggest what happend at your end.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri May 22, 2009 9:51 pm    Post subject:
Reply with quote

That's a Syncsort message. I'm moving this thread to the JCL Forum.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri May 22, 2009 10:19 pm    Post subject:
Reply with quote

Hello,

Quote:
POTENTIALLY INEFFICIENT USE OF INREC
This will also have a message id - which you chose not to post for some reason icon_confused.gif

Suggest you look up the message id in the Syncsort documentation.

If you cannot find the documentation, and your organization is licensed to use the product, you can get your own copy from Syncsort support:
zos_tech@syncsort.com
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 5 Sat Jan 21, 2017 4:02 am
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us