Set Trace ON/OFF



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

Re: Set Trace ON/OFF

Postby Akatsukami » Tue Jun 18, 2013 1:06 am

Well, Beets-kun, the COBOL II compiler has been obsolete for twenty years, so why are you referring to it?
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Set Trace ON/OFF

Postby dick scherrer » Tue Jun 18, 2013 1:10 am

Hello and welcome to the forum,

I disagree SET TRACE ON does work for Cobol on the Mainframe.
You can disagree if you want, but SET TRACE ON is NOT something standard and available on all systems.

On one of my systems:
 Command ===> set trace on               
 'SET' is not a valid edit command.     
is returned. after receiving the message
COMMAND SET NOT FOUND

You might be using some custom tool that is site-specific - we have no idea what might be available on your system.

If can't answer the question, why answer ?
What nonsense. People have answered as well as they can given the mostly useless info you have posted.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Set Trace ON/OFF

Postby LaBeets » Tue Jun 18, 2013 1:29 am

You might be using some custom tool that is site-specific - we have no idea what might be available on your system.
It is no custom tool it is standard TSO/ISPF on an IBM MAINFRAME.
No, I'm not new at this, I've been on the Mainframe box for 30 years.

I don't need anymore replies, obviously, noone on the Forum has an answer.

On your reply, what nonsense, people have answered as well as they can.

What would you say to this 'Moron" that replied:
Well, Beets-kun ?
LaBeets
 
Posts: 9
Joined: Mon Jun 17, 2013 11:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Set Trace ON/OFF

Postby dick scherrer » Tue Jun 18, 2013 1:37 am

Hello,

What would you say to this 'Moron" that replied:
Well, Beets-kun ?
I'd say you should not be so antagonistic when you are brand new and have not a clue about who you are "talking" to.

I don't need anymore replies, obviously, noone on the Forum has an answer.

Wrong again. People have correct answers - they are just not what you want to hear.

It is no custom tool it is standard TSO/ISPF on an IBM MAINFRAME.

More wrong. What gives you the impression this is standard? If this is standard on "an IBM MAINFRAME", post the IBM Manual Reference to it.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Set Trace ON/OFF

Postby LaBeets » Tue Jun 18, 2013 1:52 am

I'd say you should not be so antagonistic when you are brand new and have not a clue about who you are "talking" to.
I'm asking a question to a Forum, I.E. a group of Technical bodies that perhaps would have the answer.
New has no bearing on the question.

Wrong again. People have correct answers - they are just not what you want to hear.
Your wrong, if it was the correct answer, I would have replied, thank you.
So obviously, it was not the correct answer.

My definition of standard would be if you worked in this profession on the Mainframe Box for 30 years, 25 consulting
you would know the definition of standard.

If this is standard on "an IBM MAINFRAME", post the IBM Manual Reference to it.
If I had the IBM Manual, obviously I wouldn't be wasting my time replying to such stupid comments.
What a waste of time.............................
Stop with the answering the questions with another question.
LaBeets
 
Posts: 9
Joined: Mon Jun 17, 2013 11:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Set Trace ON/OFF

Postby Akatsukami » Tue Jun 18, 2013 1:57 am

LaBeets wrote:It is no custom tool it is standard TSO/ISPF on an IBM MAINFRAME.

To be charitable, Beets-kun, you are completely wrong. On Mr. Scherrer's machine, "SET" is not a valid ISPF Edit command; on mine, it is passed through to IPT and allows manipulation of the shell. You seem to have a rather narrow experience.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Set Trace ON/OFF

Postby LaBeets » Tue Jun 18, 2013 2:17 am

<snip>

SET is a valid valid ISPF Command.

<snip>

Infantile ranting excised
LaBeets
 
Posts: 9
Joined: Mon Jun 17, 2013 11:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Set Trace ON/OFF

Postby Akatsukami » Tue Jun 18, 2013 2:31 am

LaBeets wrote:I'll be charatible with you, you rookie.
SET is a valid valid ISPF Command.

Wrong, Beets-kun; as you will see in the z/OS ISPF User's Guide, Volume 1, Chapter 4, topic "ISPF System Commands", there is no SET command in ISPF; moreover, as you see in z/OS ISPF Edit and Edit Macros, Chapter 10 "Edit primary commands", there is no SET command in ISPF Edit.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Set Trace ON/OFF

Postby Robert Sample » Tue Jun 18, 2013 3:49 am

I disagree SET TRACE ON does work for Cobol on the Mainframe.
Prove this statement -- post something (using Code tags) showing you using the command in COBOL or TSO. Unless and until you prove it, it remains a pure opinion from you.

There are products for which trace is available -- even products using the specific command SET TRACE ON. However, these products do not interact with COBOL and hence by no means could you make the statement that "SET TRACE ON does work for COBOL on the Mainframe".

I have been using Enterprise COBOL and its predecessor products for 38 years now. After the demise of the READY TRACE function, I have not seen -- in years of application programming as well as systems programming -- any use, ever, of a SET TRACE ON command in COBOL much less TSO or TSO/ISPF. Your statement that it is supported is not validated by the manuals nor experience nor actual tests in TSO. Hence, you need to prove your statement since senior members on this forum with a combined total of well over 150 years of experience on mainframes and COBOL have not seen any use of this command. It may well be something specific to your site, in which case only someone working at your site will be able to help you.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Set Trace ON/OFF

Postby Pedro » Tue Jun 18, 2013 5:19 am

Go to ISPF on the IBM MAinframe.
Go to the EDIT screen and bring up some source code.
Once there, on the COMMAND Line type in 'SET TRACE ON'

This sounds too obvious... you are editing the program and you issue a command that enables tracing... you will still need to:
1. save the modified source
2. re-compile and
3. linkedit before
4. executing the program.

It is not clear that you did all of those things.

I think SET TRACE ON is an editor macro that is local to your site. Such editor macros are just a easier way to add stuff to your program that you could have added manually. Your program will be modified from the original source. My suggestion is to save a copy of the source, issue SET TRACE ON, then compare with the copy. In this way, you will be able to determine what changes were made by the macro and it will help you to learn how the tracing is performed. You may wish to add your own trace lines for some particular situation.

What would you say to this 'person" that replied:
Well, Beets-kun ?

The Japanese language uses a broad array of honorific suffixes for addressing or referring to people. See https://en.wikipedia.org/wiki/Japanese_honorifics
It was not intended to be derogatory.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

PreviousNext

Return to TSO & ISPF