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
 
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

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