Page 1 of 1

Debugging Easytrieve program

PostPosted: Tue Jun 30, 2009 7:19 pm
by shan111
Hi All..

Can anyone please let me know the process to debug an Easytrieve program?

Re: Debugging Easytrieve program

PostPosted: Wed Jul 01, 2009 12:24 am
by dick scherrer
Hello,

Incorporate some code to limit the operation and track the execution of the code.

Re: Debugging Easytrieve program

PostPosted: Wed Jul 01, 2009 4:39 pm
by shan111
Hi Dick,

I read somewhere that the below statement has to be included in the Environment section of the Easytrieve program to make it eligible for debugging:
PARM DEBUG (STATE FLOW)

I included it and the program executed normally. I did not find where and how to check the debugging process. Rather to say, I did not get the step that needed to be done after including the statement and executing the program.

Re: Debugging Easytrieve program

PostPosted: Wed Jul 01, 2009 5:02 pm
by yallapanthula
i think only by placing display statements we can debug easytrieve program

Re: Debugging Easytrieve program

PostPosted: Thu Jul 02, 2009 1:11 am
by dick scherrer
Hello,

Is this ("PARM DEBUG (STATE FLOW)" the first statement in your program? If not, try it as the first statement. This:
PARM ABEXIT (SNAP) +
DEBUG (PMAP, DMAP, FLDCHK, FLOW, +
FLOWSIZ (20), STATE)
is a "debugging" example from a not current release of Easytrieve.

When the job is run is there any "DD statement missing" warning?

I've never tried to use this feature, but have discovered that diffeent releases of Easytrieve are sensitive to how a PARM is coded. . .

Which release of Easytrieve is used on your system?

I've helped people to use "display" to diagnose code.

Re: Debugging Easytrieve program

PostPosted: Thu Jul 02, 2009 7:20 pm
by shan111
Hi Dick,

Yes..PARM DEBUG (STATE FLOW) is the first statement in my Easytrieve code.

When the job is run, I did not get any "DD statement missing" warning and it ran fine and produced the correct output. But dont know how exactly it can be debugged from the start of the code.

I am using 6.4 version of Easytrieve..

Re: Debugging Easytrieve program

PostPosted: Thu Jul 02, 2009 11:17 pm
by dick scherrer
Hello,

DId you try the alternate PARM statement i posted from the manual?

What happens when this is used?

Re: Debugging Easytrieve program

PostPosted: Wed Jul 08, 2009 10:54 am
by shan111
Sorry for the delay..

No Dick. I will try and let you know of the result.

Thanks.

Re: Debugging Easytrieve program

PostPosted: Thu Jul 09, 2009 12:37 am
by dick scherrer
Sorry for the delay..
No to worry :)

Someone will be here . . .

d