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 

Can we have the program to write the system log?

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


Joined: 13 Feb 2006
Posts: 9
Topics: 7

PostPosted: Fri Jan 18, 2008 1:47 am    Post subject: Can we have the program to write the system log? Reply with quote

Hello,

I want to write a PL/1 program to output some debug info into the system log . Can anybody help on this? Thanks in adv!!!

Susan.
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Fri Jan 18, 2008 10:05 am    Post subject: Reply with quote

What sort of debug info? Debugging what? Why the system log? Why not to the programs SYSPRINT file?

To write to the system log use DISPLAY.

To write to SYSPRINT use PUT SKIP LIST('mndshkjh'||variable);
or
PUT SKIP DATA(variable, variable...);
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Susan_Yang
Beginner


Joined: 13 Feb 2006
Posts: 9
Topics: 7

PostPosted: Thu Mar 06, 2008 1:26 am    Post subject: Reply with quote

Thank you Nic!!!!
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 -> Application 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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group