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
 
Optimize sort inrec parse

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
vishwakotin

New User


Joined: 15 Mar 2017
Posts: 9
Location: India

PostPosted: Mon Jun 26, 2017 11:15 pm    Post subject: Optimize sort inrec parse
Reply with quote

Hi,

I have sort job which uses inrec parse to convert cab format file into fixed length. But the job is taking about 10.5 CPU.

I am looking at any other way to parse it with less cpu, also does cobol program will be faster in these cases?

Please let me know.

Thanks,
Vishwa
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Mon Jun 26, 2017 11:59 pm    Post subject: Reply to: Optimize sort inrec parse
Reply with quote

Looking at your post raises several questions:
1. 10.5 CPU -- what? Is this CPU seconds? CPU minutes? Some random measurement you didn't specify for us?
2. How many records are being reformatted?
3. It is unlikely that you are going to be able to improve upon SORT performance -- SORT is already highly optimized.
4. COBOL is not likely to improve upon SORT performance, either.
5. Parsing ANYTHING tends to be a CPU-intensive process.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1840
Location: NY,USA

PostPosted: Tue Jun 27, 2017 1:21 am    Post subject:
Reply with quote

Quote:
I am looking at any other way to parse it with less cpu, also does cobol program will be faster in these cases?
I assume , you have got all your resources in hand so give a try and check it out yourself. Will you?
Quote:
I have sort job which uses inrec parse to convert cab format file into fixed length. But the job is taking about 10.5 CPU.
It is what it is as its best, nothings exceptional to your case. If it is so many of them to parse, try COBOL.
Back to top
View user's profile Send private message
vishwakotin

New User


Joined: 15 Mar 2017
Posts: 9
Location: India

PostPosted: Tue Jun 27, 2017 7:09 am    Post subject:
Reply with quote

Hi Robert,

The file has 6 million records, that is cpu minutes.

Rohit - I am going to try cobol today and I will update the outcome.

Ta
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1268
Location: Israel

PostPosted: Tue Jun 27, 2017 2:43 pm    Post subject: Re: Optimize sort inrec parse
Reply with quote

vishwakotin wrote:
...inrec parse to convert cab format file into fixed length...

can we have a look at your INREC statement ?
By "cab format files" do you mean Microsoft cabinet files ?
Back to top
View user's profile Send private message
sergeyken

Active User


Joined: 29 Apr 2008
Posts: 262
Location: Maryland

PostPosted: Thu Jun 29, 2017 12:44 am    Post subject: Re: Optimize sort inrec parse
Reply with quote

vishwakotin wrote:
Hi,

I have sort job which uses inrec parse to convert cab format file into fixed length. But the job is taking about 10.5 CPU.

I am looking at any other way to parse it with less cpu, also does cobol program will be faster in these cases?

Please let me know.

Thanks,
Vishwa

Any sample of your PARSE?

It is unlikely that you can improve the already optimized SORT PARSE performance unless there is some obvious incorrectness in your statement(s)...
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1840
Location: NY,USA

PostPosted: Fri Jun 30, 2017 8:32 pm    Post subject:
Reply with quote

Quote:
Rohit - I am going to try cobol today and I will update the outcome.
it shouldn't take that long to update or to answer the other questions asked.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts PARSE GDG name to separate generation... Abid Hasan SYNCSORT 2 Sun Feb 11, 2018 3:40 pm
No new posts Why is SORT rearranging records that ... cschablow DFSORT/ICETOOL 4 Wed Jan 24, 2018 10:14 pm
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts JOINKEYS Paired and Unpaired Sort on ... MFwhiz DFSORT/ICETOOL 7 Tue Nov 07, 2017 2:46 am

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