Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum 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: 8505
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: 2310
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: 1331
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 Member


Joined: 29 Apr 2008
Posts: 630
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: 2310
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 Substring for 2 files in Sort JCL Shubhendu Chakraborty DFSORT/ICETOOL 1 Wed Nov 20, 2019 11:07 am
No new posts Substring for 2 files in Sort JCL Shubhendu Chakraborty SYNCSORT 5 Wed Nov 20, 2019 11:04 am
No new posts Sort to construct single record from ... Deepti_R SYNCSORT 3 Wed Nov 13, 2019 12:14 am
No new posts Capture DSN names through SORT / IDCAMS reach2abhinavtyagi DFSORT/ICETOOL 8 Tue Nov 05, 2019 7:33 pm
No new posts Convert mainframe data to .csv format... karan_reddy DFSORT/ICETOOL 10 Sat Nov 02, 2019 2:09 am

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