View previous topic :: View next topic
|
Author |
Message |
gopinaras
New User
Joined: 13 Jan 2010 Posts: 4 Location: Chennai
|
|
|
|
Hi All,
I have a problem in Xpediting a batch db2 program. In my site, we do not have DB2 Plan access for our IDs. We use a common batch id for test jobs. In my JCL I use USER=BATCHID.
But When I am trying to Xpedit the db2 program, it gives me an error "DSNE106E PLAN DRESI53D NOT AUTHORIZED FOR SUBSYSTEM DB2B AND AUTH ID JZVGBQ "
Is there a way to specify USER parameter in Xpeditor when debugging batch programs?
Thanks in advance. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Well, the quick answer is -- get in touch with your DBA/DB2-System programmer to get the necesary access.
Other thing which comes to mind is - are you able to execute the program, without using xpeditor? If yes, does the DDIO has the correct load module? |
|
Back to top |
|
|
gopinaras
New User
Joined: 13 Jan 2010 Posts: 4 Location: Chennai
|
|
|
|
Hi Anuj,
Thanks for the reply, I am able to execute the program w/o xpeditor in JCL having USER=BATCHID.
I am thinking if there is some way to specify this USER parameter to Xpeditor so that it would use BATCHID to access PLANs |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
this is a site problem. contact your support, they will tell you how. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
gopinaras wrote: |
I am thinking if there is some way to specify this USER parameter to Xpeditor so that it would use BATCHID to access PLANs |
AFAIK, I don't think if there is a way of doing this. |
|
Back to top |
|
|
gopinaras
New User
Joined: 13 Jan 2010 Posts: 4 Location: Chennai
|
|
|
|
Hi All,
I am new to Xpeditor, would "Debug programs interactively under batch" be an option here? I am not familiar with this although.
Can someone please advise me on the difference between debug under BATCH vs TSO (interactive) why we need two different options.
Thanks in anticipation. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
The option "Debug programs interactively under batch" allows you, if set up at your site, to submit a batch job and interactively debug it via TSO. It is typically, but not always, set up as part of the Xpediter installation process. You must provide to Xpediter the batch JCL that you submit; Xpediter modifies the JCL to include its libraries and when submitted allows you to connect to the batch job (if you use Interactive debugging on the appropriate screen). The Xpediter commands remain the same, the main difference is that when you set a breakpoint and run until the breakpoint, the execution is in the batch job not your TSO session.
If you try it and cannot get it to work, you must contact your site support group as only they can tell you the specific libraries and settings that are required for your site. |
|
Back to top |
|
|
|