IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Inefficient use of INREC error in Syncsort


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1208
Location: Bangalore,India

PostPosted: Fri May 22, 2009 5:26 pm
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
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
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
Reply with quote

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

Superior Member


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

PostPosted: Fri May 22, 2009 8:29 pm
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 Developer


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

PostPosted: Fri May 22, 2009 9:51 pm
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

Moderator Emeritus


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

PostPosted: Fri May 22, 2009 10:19 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top