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 

DSNTIAUL - DD for displaying SQL at exec

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


Joined: 15 Nov 2007
Posts: 26
Topics: 7

PostPosted: Fri Dec 07, 2007 10:21 am    Post subject: DSNTIAUL - DD for displaying SQL at exec Reply with quote

Is there a dataset for DSNTIAUL that would display the SQL as read/interpreted at execution time? I received a -104 on an SQL that has been executing successfully for a while now, and the token being flagged as illegal is nowhere on the SQL itself. SYSUDUMP, SYSDBOUT don't seem to work. TIA Very Happy
Back to top
View user's profile Send private message
jsharon1248
Intermediate


Joined: 08 Aug 2007
Posts: 291
Topics: 2
Location: Chicago

PostPosted: Fri Dec 07, 2007 11:01 am    Post subject: Reply with quote

If I remember, SYSPRINT shows the SQL, control totals, and any error messages. I'm pretty sure it's required, and since you're seeing an error message, I suspect you already have it coded. Please post the SQL and the full text of the -104. The actual cause of a -104 is often unrelated to the SQL itself; it can be caused by a missing end of statement delimiter or omitting the PARM('SQL') option on the RUN PROGRAM command.
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