Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.

Google
 
Web mainframegurukul.com

Welcome to the mainframegurukul forums.

You are currently viewing our mainframe forums as a guest which gives you limited access to view most discussions, articles. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support at admin@mainframegurukul.com


db2 doubt

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DB2 SQL - DB2 PROGRAMMING
  View previous topic :: View next topic  
Author Message
supriya
Member


Joined: 27 Sep 2006
Posts: 7

PostPosted: Wed Sep 27, 2006 12:58 pm    Post subject: db2 doubt Reply with quote

1) How to display
*
* *
* * *
using select query?
Back to top
View user's profile Send private message

Krishna
Site Admin


Joined: 27 Jan 2006
Posts: 929

PostPosted: Wed Sep 27, 2006 3:36 pm    Post subject: sql query Reply with quote

Please check the answer in

http://www.ibmmainframeguru.com/MainframeGuru/viewtopic.php?t=1144

It will help you to get desired result.



Thanks,
Krishna
Back to top
View user's profile Send private message Send e-mail
ovreddy
Member


Joined: 07 Oct 2006
Posts: 14
Location: Chennai

PostPosted: Sat Oct 07, 2006 4:25 pm    Post subject: Reply with quote

Hi Krishna,

Please refer to the following syntax to get the result.

SELECT '*' FROM SYSIBM.SYSDUMMY1
UNION
SELECT '**' FROM SYSIBM.SYSDUMMY1
UNION
SELECT '***' FROM SYSIBM.SYSDUMMY1;
---------+---------+---------+---------+---------+---------+---------+---------+

---------+---------+---------+---------+---------+---------+---------+---------+
*
**
***
DSNE610I NUMBER OF ROWS DISPLAYED IS 3

Hope you got what you want.

Thanks,
Reddy.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DB2 SQL - DB2 PROGRAMMING All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts how to display panel through batch 1 Chanti 957 Tue Aug 04, 2009 1:05 am
MrSpock View latest post
No new posts for debugging , i need to display variables in hexadecimal 6 danig 2433 Thu Apr 17, 2008 1:34 pm
danig View latest post
No new posts use of display 3 neeraja 1743 Sat Feb 16, 2008 4:50 am
DavidatK View latest post
No new posts How to display in SYSOUT? 4 arrbee 3399 Fri Jun 15, 2007 12:59 pm
arrbee View latest post
No new posts How to Display COMP-3 value in report 1 Rithu 5145 Mon Feb 12, 2007 6:30 am
dbzTHEdinosauer View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB