Re: RES: Installing/Updating SVC

2007-11-23 Thread Philippe Leite
Lindy,

The main risk is in the fact that it is an undocumented feature. This feature 
has a lot of limitations. You cannot specify the SVC type (1,2,3/4,6) and you 
cannot set the SVC flags, such as: APF, Locks required, Non-preemptive and 
etc.



Philippe Leite
z/OS Systems Programmer
Portugal



On Fri, 23 Nov 2007 16:15:51 +0100, Lindy Mayfield 
<[EMAIL PROTECTED]> wrote:

>Risk?
>
>Or do you mean that anything outside of an IPL is potentially risky?
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: RES: Installing/Updating SVC

2007-11-23 Thread Philippe Leite
Hi Lindy,

I've tested in z/OS 1.5 and it worked like a charm. I don't have the latest 
z/OS versions to try it.


Best regards,


Philippe Leite
z/OS Systems Programmer
Portugal




On Fri, 23 Nov 2007 15:48:00 +0100, Lindy Mayfield 
<[EMAIL PROTECTED]> wrote:

>This would be like the coolest thing if it does what I hope it does
>(namely avoid an IPL and the use of an SVCUPDTE utility for ESRs.)
>
>And SVCNUMDEC goes back to z/OS 1.6 it seems (from the operator
>message).
>
>Lindy

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: RES: Installing/Updating SVC

2007-11-23 Thread Philippe Leite
Hi guys,

If you want add an extended SVC 109 in slot 230, just issue the command:

SETPROG LPA,ADD,DSNAME=XX,MODNAME=,SVCNUMDEC=(109,230)


Best regards,

Philippe Leite
z/OS Systems Programmer
Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Is a page protected?--how to determine

2007-07-24 Thread Philippe Leite
David,

Actually, ISVK cannot tell you if a page is protected or not, it only shows you 
the storage key and fetch bit. The Page protection bit (bit 54) is in Page 
Table Entry and Segment Table Entry.


Best regards,

Philippe Leite
z/OS Systems Programmer
Portugal

On Tue, 24 Jul 2007 07:28:15 -0500, David Day <[EMAIL PROTECTED]> 
wrote:

>Chapter 10 of the pops manual.  IVSK instruction will tell you the key,
>access control bits, and fetch protection bit of a page.
>
>
>- Original Message -
>From: "Paul Schuster" <[EMAIL PROTECTED]>
>Newsgroups: bit.listserv.ibm-main
>To: 
>Sent: Tuesday, July 24, 2007 1:32 AM
>Subject: Is a page protected?--how to determine
>
>
>> Hello: I have a need to determine if an address in storage is page
>> protected
>> in order to determine if a PGSER UNPROTECT needs to be done.
>>
>> The best I have tried and seen in earlier posts is to look for a CC=1 on a
>> TPROT backed up with an ESTAE.
>>
>> Are there any other methods to do this?
>>
>> Thank you.
>>
>> Paul Schuster
>>
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
>> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
>--
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
>Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Is a page protected?--how to determine

2007-07-24 Thread Philippe Leite
Paul,

You are in the right way. I think this is the same technique used in NUCLEUS 
by CSECT IEAVEVAL but with a FRR instead.

Regards,

Philippe Leite
z/OS Systems Programmer
Portugal

On Tue, 24 Jul 2007 01:32:43 -0500, Paul Schuster 
<[EMAIL PROTECTED]> wrote:

>Hello: I have a need to determine if an address in storage is page protected
>in order to determine if a PGSER UNPROTECT needs to be done.
>
>The best I have tried and seen in earlier posts is to look for a CC=1 on a
>TPROT backed up with an ESTAE.
>
>Are there any other methods to do this?
>
>Thank you.
>
>Paul Schuster
>
>--
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
>Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SMS : Override Dynamic Volume Count DataClass parameter via JCL parameter

2007-07-12 Thread Philippe Leite
You can override Dynamic Volume count with VOL=(,,,XX), where XX is limited 
to 59.

Regards,


Philippe Leite
z/OS Systems Programmer
Portugal


On Thu, 12 Jul 2007 14:03:57 +0200, CAPRON Romain 
<[EMAIL PROTECTED]> wrote:

>Hello,
>
>I'm currently working on implenting SMS and I'm wondering if it's
>possible to override the dynamic volume count via a JCL parameter.
>
>I saw that UNIT=(unitname,x) where x is the number of volume for the
>allocation but it doesn't override the dynamic volume count...
>
>I don't want to modify the Data class ACS !
>
>Thanks a lot in advance for your help,
>
>Regards,
>
>Romain
>
>--
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
>Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: How can I give the volume unit address and return the volume name from REXX

2007-07-09 Thread Philippe Leite
Im working on a program like this at the moment, by the way.   ;)

Philippe Leite
z/OS Systems Programmer
Portugal


On Mon, 9 Jul 2007 09:44:02 -0400, Rob Scott 
<[EMAIL PROTECTED]> wrote:

>The UCBVOLI field is deliberatly scrambled when the volume is placed offline.
>
>The only way to get the offline volser is some sort of low-level EXCP to the 
device and read the DASD label - over to you, Bill Fairchild :-)
>
>
>Rob Scott
>Rocket Software, Inc
>275 Grove Street
>Newton, MA 02466
>617-614-2305
>[EMAIL PROTECTED]
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: How can I give the volume unit address and return the volume name from REXX

2007-07-09 Thread Philippe Leite
Hi Tommy,

I  made a simple assembler program some time ago that does exactly what 
you want. Its a REXX external function named DEV2VOL. I can send you if you 
want it.

Best regards,

Philippe Leite
z/OS Systems Programmer
Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Bad NVR for PDSE

2007-05-04 Thread Philippe Leite
On Thu, 3 May 2007 13:57:09 -0500, Betsy Jeffery 
<[EMAIL PROTECTED]> wrote:

>I've got a PDSE that has it's NVR in one catalog and it's catalog entry in a
>different one. And, of course, the dataset is SMS managed.  Argh.  Please
>don't ask how it happened, I do not know.  I have been trying in vain to clean
>this up as ADRDSSU will not dump the dataset which is causing some backup
>jobs to fail.   The error is:
>ADR793E (001)-DTDSC(01), DATA SET,SYS1.DSNLOAD,ON VOLUME SYS021 IS
>AN INCONSISTENT PDSE AND CANNOT BE DUMPED  which basically states the
>VTOC and VVDS don't match.   I have tried getting rid of the NVR, which fails
>with RC50 REASON=88 (IDC3009I) : A VVR or NVR with the correct 
component
> name was found, but the catalog name did not match. On a delete request,
>the BCS record will be deleted, but  the VVR or NVR and the format 1 DSCB 
will
>not be  scratched.  I've tried a DELETE NONVSAM with the volser to no avail.
>I've tried a delete noscratch - which doesn't work either but even if it did, 
>it
>only gets rid of the BCS entry, not the VVDS/NVR.   The dataset itself is not
>having problems with any normal use; it is linklisted and used by DB2 
>&amp; 
CICS
>without error.  I have a new PDSE with the contents of the corrupt dataset
>ready to go but I have yet to find a way to get rid of the bad one.  The
>DFSMSdfp Diagnosis says the delete is failing with an 'SMS validation failure',
>(ya think!?) and to use regular procedures to correct the entry.  Any body
>have a guess as to which unexplained 'regular procedures' might be?  I've 
tried
>just about everything in the Managing Catalogs Manual that's applicable and
>nothing has worked yet.
>
>Thanks,
>Betsy
>



Betsy,

Check if you have READ authorization to the profiles:

STGADMIN.IGG.DLVVRNVR.NOCAT  CLASS(FACILITY)
STGADMIN.IGG.DELNVR.NOBCSCHK  CLASS(FACILITY)

So you can easily delete the wrong NVR.


Best regards,

Philippe Leite
z/OS Systems Programmer
Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: VTS question

2007-02-28 Thread Philippe Leite
Hi Paula,

You can create a Storage Class with an IART =  (Initial Access 
Response Time) and associate the logical tapes with this class. These 
tapes will be scratched from TVC as soon as they are copied to the stacked 
volumes.

Hope this helps.

Best regards,

Philippe Leite
z/OS System Programmer
Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SVC Screening and TCBUSER

2006-08-25 Thread Philippe Leite
Hi Ray,

As I said before, in order to retrieve the TOKEN I have to allocate a 
temporary storage through GETMAIN/STORAGE and that's exactly what I want 
to avoid. I will not reissue the SVC inside my Screen routine, I will do a 
BSM to the original SVC code, so I think this is not a problem. Someone 
correct me if I'm wrong. ;)

Regards,

Philippe Leite
z/OS Systems Programmer



On Fri, 25 Aug 2006 09:51:43 -0700, Ray Mullins <[EMAIL PROTECTED]> wrote:

>That should work, too, as long as you can single-thread the SVC you are
>trapping - that is, you're not going to be reissuing the SVC from inside 
the
>screening routine and expecting it to be trapped again.
>
>I'd still look at name/token, though, to pass the CPOOL ID.
>
>Later,
>Ray
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SVC Screening and TCBUSER

2006-08-25 Thread Philippe Leite
mmm...I remember a conflict like that in the past, but it was with 
CVTUSER, not TCBUSER.

Regards,

Philippe Leite
z/OS Systems Programmer



On Fri, 25 Aug 2006 09:38:19 -0700, Ray Mullins <[EMAIL PROTECTED]> wrote:

>That's what I was going to suggest, too.
>
>TCBUSER did serve its purpose in the day, but I can remember a time a
>conflict occurred in three different products that my then-employer sold.
>
>When I had to add something similar to a product a few years, name/token 
was
>(and is) the way to go.
>
>Later,
>Ray
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SVC Screening and TCBUSER

2006-08-25 Thread Philippe Leite
Hi Brad,

Yes, you're right. I think this is the best approach. I was thinking to 
use SSCTUSER but this would require a lot of extra coding.

Thank you very much guys.

Philippe Leite
z/OS Systems Programmer



On Fri, 25 Aug 2006 11:55:48 -0400, Taylor, Clarence B 
<[EMAIL PROTECTED]> wrote:

>Have you considered just passing it in the screening table?  That is
>when you construct your svc screening table, just make it bigger
>(hopefully mapped by a macro), then when the screening routing gets
>control, it can go to the end of the table and pickup any data the main
>routine placed there.  z/os should not care about anything beyond what
>it knows about.  If it expects n bytes for the screening table and you
>give it n+50 bytes it won't know nor care, you can use the extra 50 for
>whatever you want.
>
>
>Brad Taylor
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SVC Screening and TCBUSER

2006-08-25 Thread Philippe Leite
Hi Chris,

Yes, I could use IEANTRT, but I would have to allocate some memory  
through GETMAIN/STORAGE to retrieve the TOKEN, and I want to avoid it. 
That's why I'm using CPOOL services.

Best regards,

Philippe Leite
z/OS Systems Programmer


On Fri, 25 Aug 2006 10:38:28 -0400, Craddock, Chris 
<[EMAIL PROTECTED]> wrote:

>Not a chance. You should use the name/token service. It does what you
>need and its really fast.
>
>CC
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


SVC Screening and TCBUSER

2006-08-25 Thread Philippe Leite
Hi Listers,

I'm writing a SVC screening program to monitor some SVCs. I'm executing 
CPOOL BUILD in the main program and I want to pass the CPID to Screen 
routine. The Screen routine will execute CPOOL GET/FREE based on the CPID 
passed by the main program.
 
My question is:
Is it safe to pass the CPID from the main program to the Screen routine 
through the TCBUSER ? Do I have a better alternative ?

Thanks in advance,

Philippe Leite
z/OS Systems Programmer

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


APAR OA10756

2006-07-05 Thread Philippe Leite
Hi listers,

Could anyone explain me what is a CPT table described in APAR OA10756 ?
Is this problem related with the number of compressed dataset extents ?

Thanks in advance,

Philippe Leite
z/OS System programmer

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: z/OS 1.6 - step-time rounding errors...

2006-05-12 Thread Philippe Leite
Steve,

This is probably a bug in the IEFACTRT exit.

Regards,

Philippe Leite
z/OS Systems Programmer

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: DB2 MSTR address space memory usage

2006-05-11 Thread Philippe Leite
>It is actually described in the FM - just hard to find.
>
>   When displaying numeric values that are too large for the column
>   width, SDSF scales them using these abbreviations: T (thousands), M
>   (millions), B (billions), KB (kilobytes), MB (megabytes), GB
>   (gigabytes), TB (terabytes) and PB (petabytes).
>
>John
>

Yes,

The SDSF module ISFDA creates a table in memory and call module ISFDSP to 
format the values as described above. Look at the module ISFDSP in 
SYS1.SISFSRC around the line 4600 (z/OS 1.4)

Regards,

Philippe Leite
z/OS Systems Programmer

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: How to stop a started task in starting status

2006-03-13 Thread Philippe Leite
Try  C STARTING,A=,  where  is the ASID in hex format.

Regards,

Philippe Leite

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Is there an IBM supplied DSECT that maps the linkage stack entry?

2005-11-21 Thread Philippe Leite
Binyamin,

Take a look at Hercules code, maybe you can get the Linkage-Stack layout
from there. ;)

Regards,

Philippe Leite
z/OS Systems Programmer
BBVA Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Is there an IBM supplied DSECT that maps the linkage stack entry?

2005-11-21 Thread Philippe Leite
Binyamin,

I think there is not any DSECT to map these entries, but you can access
some fields through the instructions EREG and ESTA.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A520/2.4?
SHELF=EZ2ZO110&DT=20020107113902

Regards,

Philippe Leite
z/OS Systems Programmer
BBVA Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Using symbolic in JCL

2005-11-16 Thread Philippe Leite
Bill,

There is an IEFUJV exit in CBT Tape that do what you want.
 ==> http://www.cbttape.org/ftp/cbt/CBT573.zip


Regards,

Philippe Leite
z/OS Systems Programmer
BBVA Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: PKZIP for mainframe

2005-11-03 Thread Philippe Leite
We use the Zip/390 from DATA21 Software, is much cheaper than PKZIP.

http://www.data21.com/products/zip/default.asp?zip=390


Regards,

Philippe Leite
z/OS Systems Programmer
BBVA Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: TESTAUTH Detection

2005-10-21 Thread Philippe Leite
Keith,

Unfortunately, there is not a "simple" way to do it. You'll have to search
in the TCB queue to verify if TESTAUTH was previously called.

PS.: Just to clarify some confusions:

"THE TESTAUTH COMMAND IS USED TO DEBUG AND VERIFY THE PROPER EXECUTION
OF AN APF AUTHORIZED PROGRAM.  THE TESTAUTH COMMAND IS MOST READILY
USED TO TEST PROGRAMS WRITTEN IN BASIC ASSEMBLER LANGUAGE."


Regards,

Philippe Leite
z/OS Systems Programmer
BBVA Portugal





On Sat, 15 Oct 2005 20:32:46 -0700, Keith E. Moe <[EMAIL PROTECTED]> wrote:

>Is there a simple was to detect if a program is being executed under TESTAUTH?
>
>
>Keith E. Moe
>Laid Back Software, Inc.
>http://www.laidbacksoftware.com
>[EMAIL PROTECTED]
>(408) 749-0655 (voice and FAX)
>(408) 480-2067 (cell)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Dynamic change LOGCLS from IEASYSXX?

2005-10-12 Thread Philippe Leite
Sam,

I don't remember of any standard method to do this, but look at BASEA
control block (pointed by CVTMSER) at displacement x'68' and you'll see the
standard LOG class in it. Goog Luck ;)

Best regards,

Philippe Leite
z/OS Systems Programmer
BBVA Portugal



On Wed, 12 Oct 2005 10:49:06 -0400, Knutson, Sam <[EMAIL PROTECTED]> wrote:

>Hi,
>
>Has anyone found a way to dynamically change the default LOGCLS from
>IEASYSxx without an IPL?
>
>WRITELOG allow you to start and stop the log and to queue pending output to
>specific class but no way it seems to change the default output class to
>which output is queued when you reach LOGLMT.
>
>I have been looking around to see where this is squirreled away and if it
>could be safely altered in storage but no luck so far.  I just got started
>though.
>
>We want to switch to a new scheme for archiving SYSLOG in the Sysplex.
>Currently all the systems write to a unique class and we need to get some of
>them back.  Some of the systems will be a up for a long time till we get an
>opportunity for an outage.
>
> Best Regards,
>
>  Sam Knutson, GEICO
>  Performance and Availability Management
>  mailto:[EMAIL PROTECTED]
>  (office)  301.986.3574
>
>The optimist sees opportunity in every danger; the pessimist sees danger in
>every opportunity. - Winston Churchill

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: MVCIN instruction

2005-10-12 Thread Philippe Leite
I commonly use MVCIN for Big-endian to/from Little-endian conversions in my
multi-platform solutions.


Regards,

Philippe Leite
z/OS Systems Programmer
BBVA Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Any way to get SDSF to cough up ICH408I?

2005-08-09 Thread Philippe Leite
Thomas,

You can use RACTRACE to monitor SAF calls. Probably SDSF is using RACROUTE
with LOG=NONE.

RACTRACE --> ftp://www.redbooks.ibm.com/redbooks/GG243984/

Regards,

Philippe Leite
z/OS Systems Programmer
BBVA Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: ICETOOL & ABEND vs RC

2005-07-29 Thread Philippe Leite
You can make a little ICETOOL front-end:

  LINK EP=ICETOOL
  LTR  R15,R15
  BZ   END
  ABEND 1000
END   BR   R14


Regards/Saludos,


Philippe Leite
z/OS Systems Programmer
BBVA Portugal

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html