Search found 16 matches

by bhaskar.naidu
Fri Feb 26, 2010 12:07 am
Forum: DFSORT , ICETOOL & Utilities
Topic: Two different record length files
Replies: 5
Views: 11739

Thanks a lot for your help.
This works for me.

Regards,
Bhaskar
by bhaskar.naidu
Thu Feb 25, 2010 12:03 am
Forum: DFSORT , ICETOOL & Utilities
Topic: Two different record length files
Replies: 5
Views: 11739

Both the versions are of Fixed Block.
by bhaskar.naidu
Wed Feb 24, 2010 11:12 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Two different record length files
Replies: 5
Views: 11739

Two different record length files

Hi, I have a requirement where in a single GDG, I have two versions which is of different record lengths and I need to sort this GDG bases and need to write to an output file with the minimum record length format. For ex: I have a GDG and it has two versions in it. The first version has a record len...
by bhaskar.naidu
Wed Feb 24, 2010 5:24 am
Forum: EASYTRIEVE
Topic: Reference Modification in Easytrieve
Replies: 2
Views: 13297

Thanks a lot for your help.

Regards,
Bhaskar
by bhaskar.naidu
Tue Feb 23, 2010 3:11 am
Forum: EASYTRIEVE
Topic: Reference Modification in Easytrieve
Replies: 2
Views: 13297

Reference Modification in Easytrieve

Hi, I have got a requirement in which I need to do a reference modification for a record in my output file. For ex: Variable1 - PIC X(30). If Condn-1 Move 123 to Variable1(1:5) Move 876 to Variable1(7:3) ... ... ... End-if Can I do this in an easytrieve program? If so, please let me know the syntax....
by bhaskar.naidu
Tue Feb 23, 2010 1:50 am
Forum: EASYTRIEVE
Topic: EVALUATE Statement in Easytrieve
Replies: 1
Views: 8795

EVALUATE Statement in Easytrieve

Hi,
Can we use EVALUATE statement in Easytrieve?
If so, could you please give me the syntax?

Regards,
Bhaskar
by bhaskar.naidu
Tue Feb 23, 2010 1:44 am
Forum: EASYTRIEVE
Topic: Easytrieve programs
Replies: 6
Views: 18766

EVALUATE statement in Easytrieve

Hi,
Could you please let me know whether we can use EVALUATE statement in Easytreive program. If so, pls give the syntax.
by bhaskar.naidu
Wed Dec 23, 2009 1:09 pm
Forum: JCL
Topic: Eliminate Header rec from Sort
Replies: 3
Views: 6266

If it can be achieved from ICETOOL, I am ready to use it.
I dont have any constraints on it.

Regards,
Bhaskar
by bhaskar.naidu
Wed Dec 23, 2009 12:18 pm
Forum: JCL
Topic: Eliminate Header rec from Sort
Replies: 3
Views: 6266

Eliminate Header rec from Sort

Hi, I have a requirement in which I need to sort the records present in an input file and write it to the output file where I dont want to sort the header record which is the first record of the file, but want the header record in the output file. I want to do this in a single step. Could you please...
by bhaskar.naidu
Thu Jul 16, 2009 10:14 am
Forum: DFSORT , ICETOOL & Utilities
Topic: Editing a control card and append dynamic date values
Replies: 2
Views: 8394

Hi skolusu,

This really worked fine with my requirment.. Thanks a lot for your help on this.
by bhaskar.naidu
Wed Jul 15, 2009 3:06 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Editing a control card and append dynamic date values
Replies: 2
Views: 8394

Editing a control card and append dynamic date values

Hi, In my JCL, the first step is executing DNSTIAUL utility to unload records from a table which is very huge. My WHERE clause is as given below: WHERE AUDIT_UPDT_TS BETWEEN (CHAR(CURRENT DATE - 1)||'00:00:00.000000') AND (CHAR(CURRENT DATE - 1 day)||'23:59:59.999999'). But then my DBA advised me th...
by bhaskar.naidu
Tue Jul 14, 2009 10:36 am
Forum: JCL
Topic: Fetching Previous Day's date in my JCL
Replies: 11
Views: 16912

Hi Dick, In continuation with this conversation, my JCL is exexcuting DNSTIAUL utility to fetch records from a table for which you gave a solution to use "WHERE AUDIT_UPDT_TS BETWEEN (figure out the functions necessary to make CURRENT_DATE - 1 day concatenated with 00:00:00.000000) AND (figure out t...
by bhaskar.naidu
Tue Jul 07, 2009 1:28 pm
Forum: JCL
Topic: Fetching Previous Day's date in my JCL
Replies: 11
Views: 16912

Hi Dick, I really dont know how to check for the amount of time db2 spent manipulating the timestamp datatype to date datatype. If you can tell me how to check that, I shall try it and let you know.. But the original query was taking a time of 18.89 secs for 1500 rows where as this revised query too...
by bhaskar.naidu
Tue Jul 07, 2009 10:38 am
Forum: JCL
Topic: Fetching Previous Day's date in my JCL
Replies: 11
Views: 16912

Hi Dick, your query worked and is perfect for my requirement. Thanks a lot for your timely help.
by bhaskar.naidu
Mon Jul 06, 2009 6:06 pm
Forum: JCL
Topic: Fetching Previous Day's date in my JCL
Replies: 11
Views: 16912

Answers to your queries: how many rows are in the table - there are 15 million records in the table how many rows do you expect to select - I am expecting around 2K rows from the select is the timestamp part of an index - we are also thinking of this as a solution, but would appreciate if I get any ...