| Author |
Message |
Topic: -911 deadlock |
lacoe1
Replies: 3
Views: 3542
|
Forum: Database Posted: Fri Oct 15, 2010 1:50 pm Subject: -911 deadlock |
| Thanks for your response. The single thread did work, currently we are setup for Single Thread for particular Transactions only. Worried if it will slow down the Training environment if a blanket com ... |
Topic: -911 deadlock |
lacoe1
Replies: 3
Views: 3542
|
Forum: Database Posted: Thu Oct 14, 2010 10:46 pm Subject: -911 deadlock |
| We have a created a smaller version (less data) of our Production database of 170+ tables for the purpose of training new users. This is our Training environment. In a class of 15+ students, when the ... |
Topic: Join and compare Decimal type column with Char Column |
lacoe1
Replies: 2
Views: 1965
|
Forum: Database Posted: Thu Jul 08, 2010 1:00 pm Subject: Join |
Sorry I did it reverse last time
In a sql how do I join these 2 types of columns ?
Table A : Col-A is defined CHAR (6) NOT NULL
Table B : Col-B is defined DECIMAL ( 6, 0) NOT NULL
Is this ... |
Topic: Join and compare Decimal type column with Char Column |
lacoe1
Replies: 2
Views: 1965
|
Forum: Database Posted: Thu Jul 08, 2010 12:56 pm Subject: Join and compare Decimal type column with Char Column |
In a sql how do I join these 2 types of columns ?
Table A : Col-A is defined DECIMAL ( 6, 0) NOT NULL
Table B : Col-B is defined CHAR (6) NOT NULL
Is this correct?
DECIMAL(B.COL-A,6,0,',' ... |
Topic: Remove duplicates |
lacoe1
Replies: 5
Views: 3392
|
Forum: Job Control Language(JCL) Posted: Fri May 07, 2010 12:42 pm Subject: Remove duplicates |
Sorry about not being more clear.
Whatever is easier - 2 new output files by removing the matching keys.
Below is the sysout. The LRECL=935, RECFM=FB. The position is 1, for length of 3.
Here i ... |
Topic: Remove duplicates |
lacoe1
Replies: 5
Views: 3392
|
Forum: Job Control Language(JCL) Posted: Fri May 07, 2010 11:32 am Subject: Remove duplicates |
Output as below
File 1
Z01
Z02
Z03
File 2
Z05
Z06
Z07
Z08
Z09
You notice that the duplicates got removed from File 1. We use PGM=SORT in all our jcls. |
Topic: Remove duplicates |
lacoe1
Replies: 5
Views: 3392
|
Forum: Job Control Language(JCL) Posted: Thu May 06, 2010 6:50 pm Subject: Remove duplicates |
I have 2 input files with duplicate records among them
File 1
Z01
Z02
Z03
Z06 *
Z08 *
File 2
Z05
Z06 *
Z07
Z08 *
Z09
I want to get rid of the duplicates from File 1. ... |
Topic: Cursor and Update at the same time |
lacoe1
Replies: 3
Views: 2263
|
Forum: Database Posted: Thu Mar 25, 2010 12:31 pm Subject: Cursor and Update at the same time |
| Thanks. |
Topic: Cursor and Update at the same time |
lacoe1
Replies: 3
Views: 2263
|
Forum: Database Posted: Wed Mar 24, 2010 5:59 pm Subject: Cursor and Update at the same time |
| I am using a cursor in my Cobol program and it's gathering all the right records. What I would like to do is update some of the records that I have fetched from that cursor. How can I do update at the ... |
Topic: Fetch keeps returning the same record |
lacoe1
Replies: 2
Views: 1689
|
Forum: Database Posted: Wed Dec 23, 2009 6:03 pm Subject: Fetch keeps returning the same record |
| Did anyone face the same problem I am having. Cursor FETCH keeps returning the same record again and again. If I use SPUFI it returns 19 records, but in the Application program it does not work. The a ... |
Topic: Sum function on one-to-many relationship |
lacoe1
Replies: 7
Views: 3487
|
Forum: Database Posted: Fri Sep 05, 2008 12:14 pm Subject: Sum function on one-to-many relationship |
I have 2 tables Parent table A & Child table B
Parent has 1 row per employee, child can have multiple rows, there are amount fields in both tables. If I try to join the tables and
use SUM f ... |
Topic: File comparison |
lacoe1
Replies: 17
Views: 7654
|
Forum: Utilities Posted: Fri Nov 09, 2007 4:20 pm Subject: File comparison |
| Thank you. |
Topic: File comparison |
lacoe1
Replies: 17
Views: 7654
|
Forum: Utilities Posted: Thu Nov 08, 2007 7:58 pm Subject: File comparison |
| Are you comparing record-by-record, that is, compare record1 of file1 to record1 of file2, compare record2 of file1 to record2 of file2, etc. Or are you comparing by key, that is, if any record in fil ... |
Topic: File comparison |
lacoe1
Replies: 17
Views: 7654
|
Forum: Utilities Posted: Thu Nov 08, 2007 7:23 pm Subject: File comparison |
Ok, this is my situation.
DCB=(RECFM=VB,LRECL=4030,BLKSIZE=0)
The first 32 bytes is fixed (shown in bold below), rest is variable length.
Here is a picture of the file for the first 84 bytes. ... |
Topic: File comparison |
lacoe1
Replies: 17
Views: 7654
|
Forum: Utilities Posted: Thu Nov 08, 2007 6:14 pm Subject: File comparison |
| I have 2 files - A & B, need to compare these files to see if a particular field in each of these files are same. If same then I need to just write out file B. Is there any tool that can do this o ... |
| |