Hi All,
Can someone let me know whether shall we point to a specific partition (either update or select or Load) if I know that i will data only for that partition. If i perform this I can avoid contention between jobs.
Also I have created my test table where this has 110 columns and total LRECL is 1800, when dump is taken from the database. Will this 110 columns affect my performance of the job processing time.
I'm trying to perform some validations and calculations and create my 1800 LRECL file and update the database where the TS is partitioned into 30 parts. Also in another job i will fetch the data from this same table. will this cause any problem. Also I have included the exclusive hold between these 2 jobs so that i can avoind contention.
Any other input would be great.
Thanks,
Harikrishnan
Point to Specific Partition in the DB
Moderators: Kalicharan, Moderator Group
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
how are you accomplishing that?included the exclusive hold
if you have to unload and then load the tables,
you need all the columns.
as far as generating separate files, each for input to one of the 30 partitions, -
knowledge of the create table(s) ddl, in particular the partitioning methodology,
is not known by us,
but by you.
they are your tables.
yes, if you have 30 partitions, then you can load/update them with concurrent jobs.
all this sorta depends on what you actually have to accomplish in the way of updates.
need more details before specific suggestions can be made,
i will no longer participate in a theoretical discussion.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
Hi Dick,
Thanks for your update.
I can accomplish this by placing exclusive hold on the jobs. We can place one job on hold while the other updates / inserts / delets the database so that this will avoid less failure of the job to get failed due to contention.
Yes, I need to load the database with the complete file. Can I point my SQL SELECT statement to specific partition while I select the database in another job ? [Can you give me some sample SELECT statement for this].
I know we can load the database pointing to the specific partition, is that possible for SELECT statement too.
Any other input would be great.
Thanks,
Harikrishnan
Thanks for your update.
I can accomplish this by placing exclusive hold on the jobs. We can place one job on hold while the other updates / inserts / delets the database so that this will avoid less failure of the job to get failed due to contention.
Yes, I need to load the database with the complete file. Can I point my SQL SELECT statement to specific partition while I select the database in another job ? [Can you give me some sample SELECT statement for this].
I know we can load the database pointing to the specific partition, is that possible for SELECT statement too.
Any other input would be great.
Thanks,
Harikrishnan
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page