MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 33 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: ORDER BY a DB2 varchar column - 1st char being different
geetha001

Replies: 4
Views: 4471

PostForum: Database   Posted: Mon Oct 17, 2011 8:59 pm   Subject: ORDER BY a DB2 varchar column - 1st char being different
The first character of a DB2 table varchar column can be a special character/Numeric/Alphabet. How can I perform an ORDER BY so that the result contains all special characters first, then numeric and ...
  Topic: Dynamic SQL versus Static SQL
geetha001

Replies: 12
Views: 5663

PostForum: Database   Posted: Mon Nov 08, 2010 7:16 pm   Subject: Dynamic SQL versus Static SQL
I would like make one correction of my last post


I am getting a SQLCODE = -204 for 'testcol'.
When I have a.Col2 and/or a.Col5 the SQL runs fine, but it is only for 'testcol' because it is like ...
  Topic: Dynamic SQL versus Static SQL
geetha001

Replies: 12
Views: 5663

PostForum: Database   Posted: Sun Nov 07, 2010 6:53 pm   Subject: Dynamic SQL versus Static SQL
Thanks Kolusu for your suggestion of LOCATE. It worked, when I use it on one column. However, I did not try yet for more than one column.
For now, my secondary sort columns are defined, therefore LO ...
  Topic: Dynamic SQL versus Static SQL
geetha001

Replies: 12
Views: 5663

PostForum: Database   Posted: Wed Oct 27, 2010 9:17 pm   Subject: Dynamic SQL versus Static SQL
Thank you for all your inputs.

I am still looking at the static and dynamic SQL options, since it will be something new to my application and response times are also of a great concern.

Howeve ...
  Topic: Dynamic SQL versus Static SQL
geetha001

Replies: 12
Views: 5663

PostForum: Database   Posted: Tue Oct 26, 2010 9:33 pm   Subject: Dynamic SQL versus Static SQL
I have a requirement where I need to use multiple cursors in a DB2 stored procedure because of the different sort orders columns on the front end.

The numbers of cursors to be defined can go upto ...
  Topic: Performance improvements to a batch COBOL/DB2 insert pgm
geetha001

Replies: 19
Views: 10630

PostForum: Database   Posted: Wed Jun 16, 2010 6:25 pm   Subject: Performance improvements to a batch COBOL/DB2 insert pgm
I totally agree with jsharon1248 and dbz. Infact all the options available were reviewed and yes between random number and identity, identity key would be the best solution. But unfortunately, using i ...
  Topic: Performance improvements to a batch COBOL/DB2 insert pgm
geetha001

Replies: 19
Views: 10630

PostForum: Database   Posted: Mon Jun 14, 2010 7:39 pm   Subject: Performance improvements to a batch COBOL/DB2 insert pgm

why the random number?


For whatever reason this table was designed to have the random number. Only now seeing the issue with this and trying to find easy and simple ways to fix this issue. (Ge ...
  Topic: Performance improvements to a batch COBOL/DB2 insert pgm
geetha001

Replies: 19
Views: 10630

PostForum: Database   Posted: Mon Jun 14, 2010 5:52 pm   Subject: Performance improvements to a batch COBOL/DB2 insert pgm
After a lot of research, found that there is a issue with the way the random number is generated. The current module that generates the random number is based on current timestamp and since the ID num ...
  Topic: Performance improvements to a batch COBOL/DB2 insert pgm
geetha001

Replies: 19
Views: 10630

PostForum: Database   Posted: Mon May 24, 2010 7:20 pm   Subject: Performance improvements to a batch COBOL/DB2 insert pgm
Kolusu,

I have the results of the explain plan from production. I personally did not run any explains in test region yet. From my understanding about the explain plan table, I could not see anythi ...
  Topic: Performance improvements to a batch COBOL/DB2 insert pgm
geetha001

Replies: 19
Views: 10630

PostForum: Database   Posted: Sun May 23, 2010 8:42 pm   Subject: Performance improvements to a batch COBOL/DB2 insert pgm
In general the batch program takes a long time to run. Average run time is over an 1 hr. I am looking to optimize this run time as we may have a much higher volume going forward.

How much data is ...
  Topic: Performance improvements to a batch COBOL/DB2 insert pgm
geetha001

Replies: 19
Views: 10630

PostForum: Database   Posted: Sun May 23, 2010 6:15 pm   Subject: Performance improvements to a batch COBOL/DB2 insert pgm
I have a batch cobol program which performs slowly, current information about the program is as follows:
Performs Multi row insert (100 rows at a time)
inserts into two tables a parent and child tab ...
  Topic: Sysout missing from the Job log
geetha001

Replies: 8
Views: 6529

PostForum: Application Programming   Posted: Tue Oct 28, 2008 12:06 pm   Subject: Sysout missing from the Job log
Finally it worked, the issue was with picking the program from the correct library. I had a incorrect library in the Endevor listing.

Thanks for all your help.
  Topic: Sysout missing from the Job log
geetha001

Replies: 8
Views: 6529

PostForum: Application Programming   Posted: Tue Oct 28, 2008 10:17 am   Subject: Sysout missing from the Job log
Actually this is an existing program and it has been running fine in Production. I modified this program with simple coding changes.

Also, I do have a SYSPRINT and even that is not appearing in t ...
  Topic: Sysout missing from the Job log
geetha001

Replies: 8
Views: 6529

PostForum: Application Programming   Posted: Tue Oct 28, 2008 9:51 am   Subject: Sysout missing from the Job log
This is a batch program.

Yes I do have //SYSOUT DD SYSOUT=*

Infact I tried both the above SYSOUT and also pointed to a dataset. When I point to the dataset, the dataset gets created but it is ...
  Topic: Sysout missing from the Job log
geetha001

Replies: 8
Views: 6529

PostForum: Application Programming   Posted: Tue Oct 28, 2008 8:57 am   Subject: Sysout missing from the Job log
When I execute/run a COBOL+IMS+DB2 program, I am missing the SYSOUT from the Job Log. In SDSF the JESMSGLG, JESJCL, JESYSMSG DD names appear but the SYSOUT DDNAME does not appear.

I have the displ ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group