IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to specify USER parameter when Xpediting BATCH DB2 prog


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gopinaras

New User


Joined: 13 Jan 2010
Posts: 4
Location: Chennai

PostPosted: Fri Apr 15, 2011 4:45 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Apr 15, 2011 5:21 pm
Reply with quote

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
View user's profile Send private message
gopinaras

New User


Joined: 13 Jan 2010
Posts: 4
Location: Chennai

PostPosted: Fri Apr 15, 2011 7:51 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Fri Apr 15, 2011 8:14 pm
Reply with quote

this is a site problem. contact your support, they will tell you how.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Apr 18, 2011 3:46 pm
Reply with quote

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
View user's profile Send private message
gopinaras

New User


Joined: 13 Jan 2010
Posts: 4
Location: Chennai

PostPosted: Mon Apr 18, 2011 6:36 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8594
Location: Dubuque, Iowa, USA

PostPosted: Mon Apr 18, 2011 6:50 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Intertest Batch issue with called ass... COBOL Programming 4
No new posts Cond parameter and Rc code of a proce... JCL & VSAM 5
No new posts Define default volume for DSN storage... JCL & VSAM 8
No new posts DSLIST in batch? JCL & VSAM 18
No new posts SCHENV parameter JCL & VSAM 2
Search our Forums:

Back to Top