Auto scroll SDST and SYSLOG?



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Re: Auto scroll SDST and SYSLOG?

Postby NicC » Tue Aug 14, 2012 10:58 am

Perhaps you should have read the help first! Have you tried PF3? If that does not work then you will have to get your session cancelled, restart your session and red the help before going back into the display.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

These users thanked the author NicC for the post:
Mehdi shri (Tue Aug 14, 2012 12:18 pm)
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Re: Auto scroll SDST and SYSLOG?

 

Re: Auto scroll SDST and SYSLOG?

Postby Pedro » Wed Aug 15, 2012 1:24 am

Use the ATTN key. On PCOMM emulator, you can right click then push ATTN.
Pedro Vera

These users thanked the author Pedro for the post:
Mehdi shri (Wed Aug 15, 2012 10:12 am)
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: Auto scroll SDST and SYSLOG?

Postby Peter_Mann » Wed Aug 15, 2012 2:12 am

Auto refresh is terminated via the ATTN key, now depending on your 3270 emulator that key may be any number of keys, I have my ATTN key mapped to Esc key, you need to find your RESET key to get out of the X-SYSTEM, my reset key is Ctrl, so RESET then ATTN will terminate the auto update.
Peter

These users thanked the author Peter_Mann for the post:
Mehdi shri (Wed Aug 15, 2012 10:12 am)
Peter_Mann
 
Posts: 139
Joined: Fri Jun 24, 2011 7:37 pm
Location: Lowell,AR
Has thanked: 14 times
Been thanked: 3 times

Re: Auto scroll SDST and SYSLOG?

Postby Pedro » Wed Aug 15, 2012 2:39 am

Medhi,

You did not explain why you want to scroll down automatically.

How is typing BOT &3 better than, say, waiting 2 hours and then typing BOT?
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: Auto scroll SDST and SYSLOG?

Postby Mehdi shri » Wed Aug 15, 2012 10:18 am

Pedro
Because I want to see a log that registered by the system. We are testing programs so this log is matter for us to see the application's action and situation.
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: Auto scroll SDST and SYSLOG?

Postby Pedro » Wed Aug 15, 2012 9:34 pm

I want to see a log that registered by the system

I am not a tester, but think that watching the screen is not a good testing methodology**. When they open a defect for the missing message, you will be asked 'Did you get that message when we tested?"... your answer will be "Yes, and the proof I have is right here!" as you point to your head. My suggestion is to capture SYSLOG at the end of your testing then look for the messages that were supposed to be received.

Let's say that you have a 24 line screen; only about 20 lines are used for syslog. What if in the span of 3 seconds that 21 or more lines are written to syslog? You will likely miss some of them.

** Actually, visually seeing the log is okay for adhoc testing, but not so much for formal testing. Google for Rational Functional Tester
Pedro Vera

These users thanked the author Pedro for the post:
Mehdi shri (Tue Aug 21, 2012 1:41 pm)
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: Auto scroll SDST and SYSLOG?

Postby NicC » Thu Aug 16, 2012 8:36 am

In reality an application should NOT write to the system log/operator console unless operator action is required. Write diagnostics and informational messages to a file - SYSPRINT or SYSOUT depending on whether it is PL/1 or COBOL.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

These users thanked the author NicC for the post:
Mehdi shri (Tue Aug 21, 2012 1:41 pm)
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Auto scroll SDST and SYSLOG?

Postby dick scherrer » Thu Aug 16, 2012 8:57 am

Hello,

In reality an application should NOT write to the system log/operator console unless operator action is required.
Most definitely!

Many organizations will abend offending jobs and/or will unkindly counsel the person responsible.

In fact, most organizations will no longer permit "getting" data from the console operator. . .

Several of my larger clients have gone "lights out" in the computer room - there are no operators manning the console(s). Routine responses are handled by automation products and "alerts" trigger a call or message to the "on call". The schedlling dept is staffed 24/7 in case there is a need to have manual intervention for restart/rerun situations.

Sorry - got on a roll ;)

Back to the topic - notes to the testers/developers should NOT be written to the console.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Auto scroll SDST and SYSLOG?

Postby Pedro » Thu Aug 16, 2012 9:03 pm

notes to the testers/developers should NOT be written to the console.

Agree.
an application should NOT write to the system log/operator console unless operator action is required.

I understand, but not sure that I agree. The application can issue the WTL macro rather than WTO. The message goes to the log, but not to the console.

Some businesses are legally required to keep operational data for long periods of time. I imagine that it is easier to issue WTL and piggyback on the archiving already done for SYSLOG rather than to invent their own mechanism** to archive and manage and easily find and retrieve the application's operational information.

** SYSLOG is an easy mechanism to save operational info. But a better choice is the System Logger (aside from the similarity in names, they are unrelated). See "MVS Programming: Authorized Assembler Services Guide", SA22-7608.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: Auto scroll SDST and SYSLOG?

Postby dick scherrer » Thu Aug 16, 2012 9:22 pm

Hello,

But a better choice is the System Logger

Yup, agree :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Previous

Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post