DB2 question

2011-08-09 Thread william janulin
To list;   This is probably not the forum to post this question but I have a basic question. I am getting a DSN106E message on a plan name. The analysis states that I should do a GRANT EXECUTE on the plan name. Is this a command that can be entered via the console or SDSF , do it in a batch

Re: DB2 question

2011-08-09 Thread Lizette Koehler
Try joining the DB2 Newsgroup (IDUG) its free Site Links: View post online View mailing list online Send new post via email Unsubscribe from this mailing list Manage your subscription Use of this email content is governed by the terms of service at: http://www.idug.org Lizette

Re: DB2 question

2011-08-09 Thread Norbert Friemel
On Tue, 9 Aug 2011 09:19:36 -0700, william janulin wrote:   This is probably not the forum to post this question but I have a basic question. I am getting a DSN106E message on a plan name. The analysis states that I should do a GRANT EXECUTE on the plan name. Is this a command that can be

Re: DB2 question

2011-08-09 Thread Ron hesketh
: 10/08/2011 12:45 AM Subject:DB2 question Sent by:IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu To list;   This is probably not the forum to post this question but I have a basic question. I am getting a DSN106E message on a plan name. The analysis states that I should do

Re: DB2 question

2011-08-09 Thread Mingee, David
Hello Experts, I am asking for opinions on the ramifications or value of using the MODE C (compress) command within generic ZOS batch FTP. I am not a SYSPROG and do not have full access to SMF and RMF. My brief testing showed 3 to 10 times faster run time when using MODE C before the PUT or

Another DB2 question...SYSIBM.SYSPLANDEP...how is this updated

2011-08-06 Thread Dave Day
I can't find in any manual where it states how SYSIBM.SYSPLANDEP is updated. I made the assumption it would be done at BIND time. I have a DBRM that contains both dynamic and static SQL. This DBRM is bound into a plan. I can run the program and the SQL will execute successfully.

Re: Another DB2 question...SYSIBM.SYSPLANDEP...how is this updated

2011-08-06 Thread Mike Bell
Basic DB2 structure - 1. very old DB2 - plans contained DBRM's - BIND PLAN MEMBER(list of DBRM's) - DBRM dependencies for these DBRM's are stored in SYSPLANDEP 2. new DB2 (last 15 years) - plans contain package list entries - BIND PLAN PKLIST(list of package names) No dependendies stored in

Re: Another DB2 question...SYSIBM.SYSPLANDEP...how is this updated

2011-08-06 Thread Wayne Driscoll
@bama.ua.edu Date: 08/06/2011 11:44 AM Subject: Another DB2 question...SYSIBM.SYSPLANDEP...how is this updated Sent by: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu I can't find in any manual where it states how SYSIBM.SYSPLANDEP is updated. I made the assumption it would be done at BIND time

Re: REXX + DB2 question

2011-02-10 Thread Steve Comstock
On 2/10/2011 12:18 AM, karolf Gazeta.pl wrote: Sorry, but WHEN command works only after CALL/LOADGO TSO commands, not after CALL DSN subcommand. Karol Filipowicz I was afraid of that. I thought it was only an outside chance. Thanks for reporting back. 2011/2/10 Steve

REXX + DB2 question

2011-02-09 Thread karolf Gazeta.pl
Hi! I have a Rexx script where I run DB2 applications by DSN+CALL commands: ret_codes.='' do i=1 to . q1 = RUN PROGRAM(pgmname) PLAN(planname) q2 = PARM('parm_txt') queue (q1)(q2) queue END DSN SYSTEM(DB2X) ret_codes.pgm.i=pgmname ret_codes.plan.i=planname

Re: REXX + DB2 question

2011-02-09 Thread Cris Hernandez #9
statement's completion code. Didn't see the RC being set in the 2nd example. Also, I can't tell what input values are changing within the DO loop. --- On Wed, 2/9/11, karolf Gazeta.pl kar...@gazeta.pl wrote: From: karolf Gazeta.pl kar...@gazeta.pl Subject: REXX + DB2 question To: IBM-MAIN

Re: REXX + DB2 question

2011-02-09 Thread Steve Comstock
On 2/9/2011 2:07 AM, karolf Gazeta.pl wrote: Hi! I have a Rexx script where I run DB2 applications by DSN+CALL commands: ret_codes.='' do i=1 to . q1 = RUN PROGRAM(pgmname) PLAN(planname) q2 = PARM('parm_txt') queue (q1)(q2) queue END DSN

Re: REXX + DB2 question

2011-02-09 Thread karolf Gazeta.pl
Sorry, but WHEN command works only after CALL/LOADGO TSO commands, not after CALL DSN subcommand. Karol Filipowicz 2011/2/10 Steve Comstock st...@trainersfriend.com On 2/9/2011 2:07 AM, karolf Gazeta.pl wrote: Hi! I have a Rexx script where I run DB2 applications by DSN+CALL commands:

Cobol Db2 Question

2010-08-18 Thread Marco Gianfranco Indaco
Hi to all. Does somebody know if it's possible convert a static cursor into dynamic (or both)? Is there a special host-variable where the static cursor is stored to be called dynamically? Regards. -- For IBM-MAIN subscribe /

Re: Cobol Db2 Question

2010-08-18 Thread Jeff Celander
Innovations, Inc. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Marco Gianfranco Indaco Sent: Wednesday, August 18, 2010 12:02 PM To: IBM-MAIN@bama.ua.edu Subject: Cobol Db2 Question Hi to all. Does somebody know if it's possible convert a static

db2 question

2007-02-09 Thread Jacky Bright
Hi .. few clarifications 1) After Revoking DBADM authority from user, is it necessary to bind all plans and packages associated with that user ? In our system in SYSTABAUTH there are few entries related to packages(grantees) for which AUTHHOWGOT field is D and grantor is user having dbadm

Re: db2 question

2007-02-09 Thread Hunter Cobb
Jacky Bright wrote: Hi .. few clarifications 1) After Revoking DBADM authority from user, is it necessary to bind all plans and packages associated with that user ? In our system in SYSTABAUTH there are few entries related to packages(grantees) for which AUTHHOWGOT field is D and grantor is

Re: lost DBRM [was: DB2 Question]

2006-04-04 Thread Neil Duffee
On 2006-03-30 at 15:05, concerning DB2 Question, WA Stout [EMAIL PROTECTED] wrote to IBM-Main: Is there a way (or tool) to reverse engineer a plan to get a DBRM member? Some of our DBRM's have gotten corrupted and I want to recreate without having to recompile. DBRM's are simply (almost

Re: DB2 Question

2006-03-31 Thread Avram Friedman
DBRM's are temporary, once the plan / package is bound there is no need to recover them ... DB2 does not use them after after bind. Re-compile will not recover the DBRM as you suggested. Both DB2 static statements and DB2 executables are time stamped by actions in the precompile process and at

DB2 Question

2006-03-30 Thread WA Stout
Gang forgive me, I am not a DBA but I need to ask this... Is there a way (or tool) to reverse engineer a plan to get a DBRM member? Some of our DBRM's have gotten corrupted and I want to recreate without having to recompile. Any help would be appreciated. Thanks!

Re: DB2 Question

2006-03-30 Thread Mike Bell
usually better chance for an answer on DB2 listserv but I lurk here also. The ability to generate a DBRM is dependent on the status of the information in SYSSTMT and SYSPACKSTMT. BIND COPY accross subsystems does not have enough information to rebuild the DBRM. REMOTE binds do not have enough

Re: DB2 Question

2006-03-30 Thread Ted MacNEIL
Is there a way (or tool) to reverse engineer a plan to get a DBRM member? Some of our DBRM's have gotten corrupted and I want to recreate without having to recompile. You're taking a chance with an integrity exposure. Besides, re-compiling would probably be faster! - -teD I’m an enthusiastic