Author |
Message |
Topic: Help with one design problem - DB2 |
deepatred
Replies: 3
Views: 1813
|
Forum: Database Posted: Mon Mar 31, 2008 12:02 pm Subject: Help with one design problem - DB2 |
Hi Kolusu,
Thanks for the reply.
But T1 T2 T3 are just example values. It may change to T1 T3 T4 and a new T value t5 can get added. There is a user interface to do so.
So it can not be hard c ... |
Topic: Help with one design problem - DB2 |
deepatred
Replies: 3
Views: 1813
|
Forum: Database Posted: Mon Mar 31, 2008 10:20 am Subject: Help with one design problem - DB2 |
Hi,
We have a database in which data appears in this format:
M1 T1
M1 T2
M1 T3
M2 T1
M2 T2
M2 T3
M2 T4
Etc... T row will be unique for ... |
Topic: JOBTRAC:Schedule a job based on return code of previous job |
deepatred
Replies: 1
Views: 1775
|
Forum: Job Control Language(JCL) Posted: Wed Jan 03, 2007 1:25 am Subject: JOBTRAC:Schedule a job based on return code of previous job |
Hi,
We have a requirement to schedule a job based on the retun code of previous job, is this possible in JOBTRAC?
For eg:
Job1 --> Job2 ---> Job3 ---> Job4
Now Job1 has a last s ... |
Topic: Use ATTN to terminate Function. |
deepatred
Replies: 9
Views: 9588
|
Forum: Application Programming Posted: Tue Jul 18, 2006 11:54 pm Subject: Use ATTN to terminate Function. |
This operation gets terminated using ATTN key, for me it's shift + esc. May be there is something wrong with ur ATTN key mapping.
Otherwise why don't you terminate ur session by using command
TS ... |
Topic: Effect on CPU time - DB2 prog with cursor |
deepatred
Replies: 17
Views: 7118
|
Forum: Application Programming Posted: Sun Jul 16, 2006 11:45 pm Subject: Effect on CPU time - DB2 prog with cursor |
Hi Kolusu,
SYSOUT msgs:=>
SYSIN :
SORT FIELDS=COPY
OUTREC FIELDS=(01,76, ... |
Topic: Effect on CPU time - DB2 prog with cursor |
deepatred
Replies: 17
Views: 7118
|
Forum: Application Programming Posted: Fri Jul 14, 2006 5:43 am Subject: Effect on CPU time - DB2 prog with cursor |
YEs i have written exactly similar to what you have given.
//STEP0010 EXEC PGM=SORT
//*
//SORT ... |
Topic: Effect on CPU time - DB2 prog with cursor |
deepatred
Replies: 17
Views: 7118
|
Forum: Application Programming Posted: Fri Jul 14, 2006 1:07 am Subject: Effect on CPU time - DB2 prog with cursor |
Hi Kolusu,
Thanks a lot for this solution it's working out and taking only .10 sec also got to learn some new features of syncsort that i had not used till now.
But there is one probl ... |
Topic: Effect on CPU time - DB2 prog with cursor |
deepatred
Replies: 17
Views: 7118
|
Forum: Application Programming Posted: Tue Jul 11, 2006 4:40 am Subject: Effect on CPU time - DB2 prog with cursor |
Hi Kolusu,
01 RS01.
10 RS01-FIELD1 PICTURE X(24).
10 RS01-FIELD2 PICTURE S9(3) COMPUTATIONAL-3.
10 RS01- ... |
Topic: Effect on CPU time - DB2 prog with cursor |
deepatred
Replies: 17
Views: 7118
|
Forum: Application Programming Posted: Thu Jul 06, 2006 11:06 pm Subject: Effect on CPU time - DB2 prog with cursor |
Hi Bauer,
Thanks for the reply.
Actually i am somewhat new to mainframe and DB2, so not familiar to all those terms.
Could you please let me know some more details. Where to find those info and h ... |
Topic: Effect on CPU time - DB2 prog with cursor |
deepatred
Replies: 17
Views: 7118
|
Forum: Application Programming Posted: Thu Jul 06, 2006 11:05 pm Subject: Effect on CPU time - DB2 prog with cursor |
Hi Kolusu,
Program is in Cobol. The processing that program does is somewhat like this.
for each record.
if field-1 not = 'HH'
increment counter count-1
if field-1 = 'CC'
... |
Topic: Effect on CPU time - DB2 prog with cursor |
deepatred
Replies: 17
Views: 7118
|
Forum: Application Programming Posted: Thu Jul 06, 2006 2:55 am Subject: Effect on CPU time - DB2 prog with cursor |
Hi Kolusu,
Thanks for response.
In your case you need to check if your Cursor is using an index or not.
Cursor is using indexes in Where and order by clause, only two extra fields are prese ... |
Topic: Effect on CPU time - DB2 prog with cursor |
deepatred
Replies: 17
Views: 7118
|
Forum: Application Programming Posted: Wed Jul 05, 2006 4:44 am Subject: Effect on CPU time - DB2 prog with cursor |
Hi,
I have a program that selects daily data from a DB2 table using Cursor and formats some fields of data and writes them to an O/P file. In other words it extracts the data from DB to file. Daily ... |
Topic: accepting a non-integer value passed through a JCL |
deepatred
Replies: 2
Views: 1485
|
Forum: Job Control Language(JCL) Posted: Wed Apr 05, 2006 10:26 pm Subject: accepting a non-integer value passed through a JCL |
Phantom,
Thanks.
But i could not get the funda clear.
When i tried passing 0.000 from sysin to variable of PIC 9V9(3), it displayed the accepted value as 0.00
When i tried passing 0.000 to va ... |
Topic: accepting a non-integer value passed through a JCL |
deepatred
Replies: 2
Views: 1485
|
Forum: Job Control Language(JCL) Posted: Wed Apr 05, 2006 3:25 am Subject: accepting a non-integer value passed through a JCL |
Hi,
Through JCL we can pass values that can be accepted in program using an ACCEPT statement.
like
//SYSIN DD *
0.003
/*
If i want to pass a value like 0.003 can i accept it in a varia ... |
Topic: Deleting using cursor deletes from table or cursor |
deepatred
Replies: 4
Views: 2116
|
Forum: Database Posted: Thu Jan 19, 2006 9:39 pm Subject: Deleting using cursor deletes from table or cursor |
ok, thanks |
|