MAINFRAME - TIP OF THE DAY :
When you specified V for RECFM parameter, LRECL value is largest record in the file plus 4 bytes. These four bytes contain the actual length of each variable length record in the file
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
Posted: Tue Oct 15, 2013 12:24 pm Post subject: Performance Tuning
I am trying to fetch few records based on the account as key from Input KSDS VSAM file into flat file.Count in input VSAM file is nearly 56 Millions. I want to reduce the CPU time and Elapse time for this sort.
Current CPU time : 2.50, Elapse time : 22.64
Step from JCL : STEP016 EXEC PGM=SORT,PARM='MINCORE=512K'
Joined: 23 Oct 2010 Posts: 107 Location: Chennai,India.
Posted: Thu Oct 17, 2013 10:32 am Post subject:
Sorry, But I believe the example provided in the link is a KEY'ed read. This is how a KSDS random read will happen in Easytrieve. EOF mentioned in the program is for FILE1, that might have confused you. Please correct me if I am wrong.
Sorry, currently I left without mainframe machine, else I would have tested the code and confirmed the same. _________________ Guru:-)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Cobol Tutorial This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial This Tutorial covers all important aspects of DFSORT. Has more SORT examples