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 

IDz. When are debug commands run and are usable

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 619
Topics: 172
Location: Stockholm, Sweden

PostPosted: Fri May 20, 2022 4:40 am    Post subject: IDz. When are debug commands run and are usable Reply with quote

What I mean by this is the following.

I have specified my commands data set as userid.IDZ.DEBUG.ZFEXXL2 with the following contents

Quote:

AT ENTRY ZFEXXL2;
AT LABEL A-100;
LIST W-BATCH;
LIST TITLED W-BATCH;
MONITOR LIST W-BATCH;


and my preference data set as userid.IDZ.DEBUG.DEFAULT with the following contents:

Quote:

CLEAR LOG ;
SET AUTOMONITOR ON LOG ;


Label A-100 is a dummy label I created for testing purposes, and is the first line after the procedure division line.

The log contains the following

Quote:

EQA2265I *** User preferences file commands follow ***
CLEAR LOG ;
SET AUTOMONITOR ON LOG ;
EQA2431I Automonitor is on for this debug session.
EQA2454I This CU is not AUTOMONITOR capable for expressions.
The current location is ZFEDA0 at line 0x00000000
EQA2268I *** User preferences file commands end ***
EQA2266I *** Commands file commands follow ***
AT ENTRY ZFEXXL2;
AT LABEL A-100;
EQA4849E The label variable is not in scope or does not exist in current compilation unit.
LIST W-BATCH;
LIST TITLED W-BATCH;
MONITOR LIST W-BATCH;
EQA2428E This command is either invalid or unsupported.
EQA2269I *** Commands file commands end ***
Program was stopped due to entry/function breakpoint on ZFEXXL2.
The current location is ZFEXXL2 at line 2
EQA4017I Load module DFSLI000 was loaded from LLA. The load module information was processed from a data set found in file STEPLIB .
The current location is ZFEXXL2 at line 2949


When I debug, IDz stops at line 2 in ZFEXXL2 (not pointing to the procedure division).

I tried changing the label to a unique one (unique for ALL programs theoretically). I changed it from A-100 to A-ZFEXXL2 and then changed the debug file to
Quote:

AT LABEL A-ZFEXXL2;
LIST W-BATCH;
LIST TITLED W-BATCH;
MONITOR LIST W-BATCH;

(note that I removed the AT ENTRY line) but I still received the message

Quote:

AT LABEL A-ZFEXXL2;
EQA4849E The label variable is not in scope or does not exist in current compilation unit.


So my question is this. If IDz is supposed (?) to emulate Debug Tool, what do I need to do (can I ?) in order to "prepare" a number of Debug Tool commands that have kicked in as soon as I enter and break in the relevant program?
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities 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