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 

Display Statement in Stored Procedures & DSSPRINT DD nam

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
haqshaik
Beginner


Joined: 11 May 2005
Posts: 49
Topics: 19

PostPosted: Fri Oct 07, 2005 11:46 am    Post subject: Display Statement in Stored Procedures & DSSPRINT DD nam Reply with quote

Hello Gurus,

I have got a task working on the Stored Procedures. I have been through the postings related to the stored procedures. They have all given a very good insight and been through the red books as well. I am thinking to debug the stored procedure by putting display statements. When I looked into the assocaited WLM job, there is no DD name for SYSOUT. The available DD names are UTPRINT and SYSPRINT, DSSPRINT. There are couple of DD names to log the dumps, like CEEDUMP and SYSDUMP.
I know the user displayed messages will not go into UTPRINT and SYSPRINT. The DSSPRINT dd name is new to me. I am not sure whether the display statements will go in the DSSPRINT or not.I do not thik so it will contain the user displayed messages. What this DSSPRINT dd name will contain? Can I request my DBA to add SYSOUT dd name as well in the WLM proc. I do not see any reson for not adding SYSOUT name in the WLM proce.I might be wrong. Once the Debugging is over we can take off the display statements. I could see the SYSOUT dd name in the WLM esblished address space in the RED book SG24-7083-00 on Page 190 chpater 14 - Debugging.

Any thoughts will be helpful.

Thanks,
Salauddin
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Oct 07, 2005 4:41 pm    Post subject: Reply with quote

haqshaik,

If you are running SP in WLM , then any displays can be seen in the WLM started task. If your stored procedure is running in the DB2 stored procedure address space (SPAS), the displays can be seen in the output from that task.

Check with your DBA for the naming conventions of the started tasks.

DSSPRINT : You need to add it to JCL along with UTPRINT, SYSIN and SYSPRINT if you are modifying the WLM-established address space in which DSNUTILS runs. You must allocate SYSIN and SYSPRINT in the procedure to temporarily store utility input statements and utility output messages.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
haqshaik
Beginner


Joined: 11 May 2005
Posts: 49
Topics: 19

PostPosted: Sun Oct 16, 2005 2:11 am    Post subject: Reply with quote

Thanks Kolusu for your inputs. I was on vacatiaon and could chek the message today only.
Thanks,
Salauddin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database 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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group