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 358 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: Need help in dates conversion for a query
yadav2005

Replies: 4
Views: 4047

PostForum: Database   Posted: Tue May 15, 2012 8:24 am   Subject: Need help in dates conversion for a query
Thanks so much .I understand now and it helped me and I was able to get my results.
  Topic: Need help in dates conversion for a query
yadav2005

Replies: 4
Views: 4047

PostForum: Database   Posted: Tue May 15, 2012 7:14 am   Subject: Need help in dates conversion for a query
GuyC,

Thanks for the reply but I am not clear what exactly you are trying to do.Plus I am in DB2 V9 CM Mode so cannot use New Function mode.I did try using both the formats and
I get the below er ...
  Topic: Need help in dates conversion for a query
yadav2005

Replies: 4
Views: 4047

PostForum: Database   Posted: Mon May 14, 2012 10:19 pm   Subject: Need help in dates conversion for a query
Hi,

I have a DB2 Table with some columns and some columns are as belowSelect Column Name Col No Col Type Length Scale Null Def FP
* * * * * * ...
  Topic: Get three records per group in descending order
yadav2005

Replies: 3
Views: 3090

PostForum: Database   Posted: Wed Mar 21, 2012 12:32 am   Subject: Get three records per group in descending order
GuyC,

Your code worked and gave me the results what I desired . Thanks for your help.
  Topic: Get three records per group in descending order
yadav2005

Replies: 3
Views: 3090

PostForum: Database   Posted: Mon Mar 19, 2012 5:57 am   Subject: Get three records per group in descending order
I am trying to write a query to get a desired output. Below is the DDL code and DML code.


CREATE TABLE TEST.TBABE
( ...
  Topic: Need a list of empty datasets from a saved list
yadav2005

Replies: 6
Views: 6863

PostForum: Job Control Language(JCL)   Posted: Thu Nov 10, 2011 9:54 pm   Subject: Need a list of empty datasets from a saved list
Thanks Kolusu and John , that works much better solution.
  Topic: Need a list of empty datasets from a saved list
yadav2005

Replies: 6
Views: 6863

PostForum: Job Control Language(JCL)   Posted: Thu Nov 10, 2011 4:51 am   Subject: Need a list of empty datasets from a saved list
Thanks Dick and Semigeezer,

My saved list is in dataset TEST.LIST.DATASETS. A small clarification , in the Rexx code , the way I have included the name after DA , is it correct.Now what my underst ...
  Topic: Need a list of empty datasets from a saved list
yadav2005

Replies: 6
Views: 6863

PostForum: Job Control Language(JCL)   Posted: Wed Nov 09, 2011 9:40 am   Subject: Need a list of empty datasets from a saved list
Hi All,

I have a list of datasets which I have saved in 3.4 by SAVE LIST command.What I need is to find out all empty datasets from that list and store in a seperate dataset.I did try by using PRIN ...
  Topic: Need a query to get the results for a join
yadav2005

Replies: 5
Views: 3917

PostForum: Database   Posted: Wed Aug 03, 2011 9:53 pm   Subject: Need a query to get the results for a join
Kolusu,

Thanks so much for your query and I was able to get my desired result.

NASCAR9,

Your query failed with -206:

DSNT408I SQLCODE = -206, ERROR: A.PROGNAME IS NOT A COLUMN OF AN I ...
  Topic: Need a query to get the results for a join
yadav2005

Replies: 5
Views: 3917

PostForum: Database   Posted: Wed Aug 03, 2011 8:57 am   Subject: Need a query to get the results for a join
I have data in Table A as below:


SELECT * FROM YADAV.A;
---------+---------+---------+---------+---------+---------+---------+---------+
...
  Topic: Unable to create View with FETCH FIRST N ROWS ONLY
yadav2005

Replies: 10
Views: 8722

PostForum: Database   Posted: Thu May 26, 2011 10:47 am   Subject: Unable to create View with FETCH FIRST N ROWS ONLY
Kolusu,

I am in DB2 V8 only . Is there any way to achieve the same.
  Topic: Unable to create View with FETCH FIRST N ROWS ONLY
yadav2005

Replies: 10
Views: 8722

PostForum: Database   Posted: Thu May 26, 2011 9:44 am   Subject: Unable to create View with FETCH FIRST N ROWS ONLY
I have two base tables with millions of records.The view is a simple select of columns from the two different tables with a where condition.With the count of records being huge,I am trying to create ...
  Topic: Unable to create view without a column in base table
yadav2005

Replies: 8
Views: 4193

PostForum: Database   Posted: Wed May 18, 2011 12:35 pm   Subject: Unable to create view without a column in base table
Kolusu,

I might be lacking basics here. But -158 incidates that the column which I want an additional in the View creation is not present in the base table , as the column numbers does not match. I ...
  Topic: Unable to create view without a column in base table
yadav2005

Replies: 8
Views: 4193

PostForum: Database   Posted: Wed May 18, 2011 12:11 pm   Subject: Unable to create view without a column in base table
Yes because the columns which I am having in my View creation do not match in count in the Select from columns from base table.
  Topic: Unable to create view without a column in base table
yadav2005

Replies: 8
Views: 4193

PostForum: Database   Posted: Wed May 18, 2011 11:57 am   Subject: Unable to create view without a column in base table
Kolusu,

Can you please help me fix the problem. My view creation is not successful.
 
Page 1 of 24 Goto page 1, 2, 3 ... 22, 23, 24  Next
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group