View previous topic :: View next topic |
Author |
Message |
Susan_Yang Beginner
Joined: 13 Feb 2006 Posts: 9 Topics: 7
|
Posted: Fri Jan 18, 2008 1:47 am Post subject: Can we have the program to write the system log? |
|
|
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 |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Fri Jan 18, 2008 10:05 am Post subject: |
|
|
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 |
|
|
Susan_Yang Beginner
Joined: 13 Feb 2006 Posts: 9 Topics: 7
|
Posted: Thu Mar 06, 2008 1:26 am Post subject: |
|
|
Thank you Nic!!!! |
|
Back to top |
|
|
|
|