Re: DESERV function get DCB address

2013-12-01 Thread Gerhard Postpischil
On 12/1/2013 2:42 PM, MichealButz wrote: 1) can BLDL or DESERV differentiate between TASK STEP or JOBLIB 2) is there any way to get DSN name given a DCB I seem to recall RDJFCB doing that but that was with EXLST pram on the DCB For a closed DCB (or any DD name) you can retrieve the JFCB v

Re: COBOL IN SRB Mode (Was Un-authorized caller)

2013-12-01 Thread John McKown
On Sun, Dec 1, 2013 at 4:20 PM, esst...@juno.com wrote: > I initiallydid notfind this topic particularly interesting as it was > basicaly responded too in the first few responses. > (SVC/PC). > > I recently had a dispute with Management reagrding the uses of sceduling > COBOL BATCH under an SRB.

Re: Un-authorized caller calling authorized services.

2013-12-01 Thread Jim Thomas
Shmuel, Thank you for your responses, this and previous. I concur w/what you've said and w/what others have said. Before I go on, as Peter pointed out, I admit that I've used incorrect terminology (e.g. call / invoke a SRB) and I apologize. That said, AFAIK, there's really not much, save but

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Ed Gould
Dave: I remember distinctly that UID's were limited to 7 characters. One of the reasons was that UADS had a directory of 8 characters and the 8th character was reserved for UID's needing more space in UADS so a character was reserved (shaky here but the 8th character was either 0, 1 2 etc)

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread David L. Craig
On 13Dec01:1758-0500, Shmuel Metz (Seymour J.) wrote: > In <0905701904337885.wa.paulgboulderaim@listserv.ua.edu>, on > 11/30/2013 >at 08:52 AM, Paul Gilmartin said: > > >Is the limit HLQ or TSO prefix? > > TSO limits the prefix to 7; for an explicit FQDSN it accepts an > 8-character HLQ

Re: TCBJLB doesn't point to a DCB

2013-12-01 Thread Robert A. Rosenberg
At 14:23 -0500 on 12/01/2013, MichealButz wrote about Re: TCBJLB doesn't point to a DCB: I was confused by the documentation DCB= is the address where the DCB resides so Instead of coding MVC WSDCB,TCBJLB DCB= is a parm on the DESERV DCB=WSDCB, I coded L RX,TCBJLB

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Shmuel Metz (Seymour J.)
In , on 12/01/2013 at 08:27 AM, Mike Schwab said: >TSO appends a prefix of your userid to your data set name unless you >specify quotes. Except when it doesn't. See PROFILE PREFIX. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Shmuel Metz (Seymour J.)
In <3197351753588016.wa.zatlas1yahoo@listserv.ua.edu>, on 12/01/2013 at 08:21 AM, "Ze'ev Atlas" said: >I do not want people to shoot the idea down just because I referred >to only one example. The problem is not that you have only one example, it is that you are shooting from the hip inst

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Shmuel Metz (Seymour J.)
In <8649425507335336.wa.zatlas1yahoo@listserv.ua.edu>, on 12/01/2013 at 12:20 AM, "Ze'ev Atlas" said: >I have identified the defect pretty well, You waved your hands; you never identified a problem that a central repository would solve. >you refuse to see that definition That would have

Re: Un-authorized caller calling authorized services.

2013-12-01 Thread Shmuel Metz (Seymour J.)
In <021001ceee3c$9f1fe880$dd5fb980$@TheThomasResidence.us>, on 11/30/2013 at 08:25 PM, Jim Thomas said: >In a nutshell, I'm trying to find out what the best way is for an >un-authorized called to call / invoke a SRB. It can't. The only ways for unauthorized code to invoke authorized services

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread John Gilmore
Helped perhaps by the fact that he knows what 'antetypical' means, Bill Fairchild has made my case better than I had made it. I did indeed have [some of] these notions in mind. The more recent development of this thread has pleased me. Vociferous, historically tin-eared objections have been very

Re: DESERV function get DCB address

2013-12-01 Thread Shmuel Metz (Seymour J.)
In , on 11/30/2013 at 05:05 PM, Peter Relson said: >A first guess is always that the invocation was off by a level of >indirection. Or that it failed to clear bits 0-7 when required. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see

Re: Un-authorized caller calling authorized services.

2013-12-01 Thread Shmuel Metz (Seymour J.)
In , on 11/30/2013 at 09:53 PM, "Blaicher, Christopher Y." said: >- Don't ever read data from a caller's address space when you are .not in the caller's key. MVCK >- Don't EVER, EVER write data to a caller's address space when >you are not in the caller's key. MVCK -- Shmuel (Seymo

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Shmuel Metz (Seymour J.)
In <0905701904337885.wa.paulgboulderaim@listserv.ua.edu>, on 11/30/2013 at 08:52 AM, Paul Gilmartin said: >Is the limit HLQ or TSO prefix? TSO limits the prefix to 7; for an explicit FQDSN it accepts an 8-character HLQ. >Do catalog services enforce a limit of 7? No, nor does TSO. --

Re: Curiosity: ETXR exit code (ATTACHX macro)

2013-12-01 Thread Shmuel Metz (Seymour J.)
In , on 11/29/2013 at 06:57 PM, John McKown said: >Suppose that I have a program which is heavily multitasking. There >is the parent task and multiple subtasks, all direct children of >the single parent. The ATTACHX macro uses the ETXR parameter, >which specifies a single routine which does

Re: Un-authorized caller calling authorized services.

2013-12-01 Thread Jim Thomas
Rob, Yes, this was, in part, one of the options I'd been considering. I was however, trying to stay away from having to add a new address space to the product. I will take your suggestions and re-consider again. Yes, MVCS/DK is what I usually use, as much as possible. Thank you for your sugges

COBOL IN SRB Mode (Was Un-authorized caller)

2013-12-01 Thread esst...@juno.com
I initiallydid notfind this topic particularly interesting as it was basicaly responded too in the first few responses. (SVC/PC). I recently had a dispute with Management reagrding the uses of sceduling COBOL BATCH under an SRB. Thats Right a Batch COBOL Prpogram runing Under an SRB, moreover u

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread DASDBILL2
I believe John Gilmore meant that the original S/360 architects thought that the system should support at least five levels in a file name and that each level could be as long as eight bytes. I suspect that this  value of eight came from the maximum length of a PDS member name, also eight.  Thi

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Anne & Lynn Wheeler
paulgboul...@aim.com (Paul Gilmartin) writes: > With a brief exposure to MVS, I started to learn CMS. I was shocked > (briefly) to learn that file names might begin with numeric digits; in > fact be entirely numeric. Why not in OS/360 data set names? In an > era of severe storage and CPU cycle c

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Jon Perryman
You keep telling us about an annoying limitation which is not a defect. I agree that at times, it is annoying but it has also proved to be very useful. Also as it age's the user's of the system is changing the pattern of usage. As z/OS ages, the typical end user doesn't know or care what a datas

Re: DESERV function get DCB address

2013-12-01 Thread MichealButz
Two questions 1) can BLDL or DESERV differentiate between TASK STEP or JOBLIB 2) is there any way to get DSN name given a DCB I seem to recall RDJFCB doing that but that was with EXLST pram on the DCB -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSER

Re: DESERV function get DCB address

2013-12-01 Thread Scott Ford
Sorry a 'bit' more Scott ford www.identityforge.com from my IPAD 'Infinite wisdom through infinite means' > On Dec 1, 2013, at 2:35 PM, Scott Ford wrote: > > Michel, > > Can you impart a big more information on what your trying to accomplish ? > > Scott ford > www.identityforge.com > from m

Re: DESERV function get DCB address

2013-12-01 Thread Scott Ford
Michel, Can you impart a big more information on what your trying to accomplish ? Scott ford www.identityforge.com from my IPAD 'Infinite wisdom through infinite means' > On Dec 1, 2013, at 2:03 PM, MichealButz wrote: > > Thanks for your help > > Two questions > > Does BLDL or DESERV have

Re: Un-authorized caller calling authorized services.

2013-12-01 Thread Jim Thomas
Walt, As w/my request to Peter, may I please contact you offline ??. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Walt Farrell Sent: Sunday, December 01, 2013 10:09 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Un-authorized calle

Re: Un-authorized caller calling authorized services.

2013-12-01 Thread Jim Thomas
Peter ... my apologies .. I used the wrong terminology. May I please contact you offline on this ??. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Peter Relson Sent: Sunday, December 01, 2013 9:47 AM To: IBM-MAIN@LISTSERV.UA.EDU Su

Re: TCBJLB doesn't point to a DCB

2013-12-01 Thread MichealButz
I was confused by the documentation DCB= is the address where the DCB resides so Instead of coding MVC WSDCB,TCBJLB DCB= is a parm on the DESERV DCB=WSDCB, I coded L RX,TCBJLB DCB=(RX), That worked When the TASK/STEP/JOB is specified I get X'05' for b

Re: TCBJLB doesn't point to a DCB

2013-12-01 Thread DASDBILL2
Confusion seems rampant.  Please post the hexadecimal display of the first 48 (decimal 48, or hex '30') bytes of the TCB in question.  Then post the same number of bytes at the beginning of the DCB in question. Bill Fairchild Franklin, TN - Original Message - From: "Shmuel Metz (Se

Re: DESERV function get DCB address

2013-12-01 Thread MichealButz
Thanks for your help Two questions Does BLDL or DESERV have anyway of differentiating between TASKLIB/STEPLIB/JOBLIB I think not. TCBJLIB represents the first library looked at be it TASK STEP or JOB Second is there anyway of getting the associated DSN name Thanks -Original Message

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Ed Finnell
PROF NOPRE? In a message dated 12/1/2013 9:09:20 A.M. Central Standard Time, gerh...@valley.net writes: Sometimes. The value that is prepended is the user id only by default, as the user may set a prefix of 1-7 characters. ---

Re: DESERV function get DCB address

2013-12-01 Thread Peter Relson
>unfortunately DESERV >FUNC=GET needs a real DCB address as opposed to the zero used invoking BLDL You need to supply a DCB address that represents a concatenation in which the member for which you are seeking the directory entry exists. BLDL happens to support 0 as asking to search tasklib(s)

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Paul Gilmartin
On Sat, 30 Nov 2013 16:55:58 -0600, Anthony Babonas wrote: >Don't forget the hyphen and x'C0'. > Hyphen is strange. JCL allows hyphen in data set names in some contexts; reports it as a syntax error elsewhere. I believe this is documented. ISPF LM services allows hyphen in member names in some

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Ze'ev Atlas
>I still like using the Linux "locate" command for this. It does a data base >lookup, which is maintained non-real-time via updatedb, and presents a list >of entire path names which match the given input. I may need to look at >getting the source and seeing if I can port it to z/OS UNIX. Locate/up

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Ze'ev Atlas
>Let me back it up a level: what's the problem you're trying to solve? Are >you trying to make things more user-friendly? I submit that the >unpredictability this introduces would have the opposite effect. This is the kind of reaction that I am waiting for, pointing to things that need to be answ

Re: Un-authorized caller calling authorized services.

2013-12-01 Thread Walt Farrell
On Sat, 30 Nov 2013 20:25:36 -0600, Jim Thomas wrote: >My service is a SRB and given, SRBPARM, will be executing some code that I >am given. That sounds extremely unsafe, from a system integrity perspective. In general you cannot depend on an unauthorized caller to give you code that is safe t

Re: Un-authorized caller calling authorized services.

2013-12-01 Thread John McKown
It might be helpful to have the OP tell us _exactly_ what authorized function he needs to be done on behalf of his unauthorized user program. Perhaps there is another way to "get 'er done". -- For IBM-MAIN subscribe / signoff / ar

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread John McKown
On Sun, Dec 1, 2013 at 9:30 AM, zMan wrote: > Ahhh. So you want the system to find the file "filename" *anywhere that it > exists* when you say "*verb* filename"? > > Hmm. Do I want that? Do I want what worked fine yesterday to stop working > today because a download or unzip created a new "filen

Re: Un-authorized caller calling authorized services.

2013-12-01 Thread Peter Relson
>TPROT TPROT can tell you "it is not OK". It almost never can tell you fully "it is OK" because of time-of-check to time-of-use exposures. >In a nutshell, I'm trying to find out what the best way is for >an un-authorized called to call / invoke >a SRB. Not only is there no "best way" there is

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread zMan
Ahhh. So you want the system to find the file "filename" *anywhere that it exists* when you say "*verb* filename"? Hmm. Do I want that? Do I want what worked fine yesterday to stop working today because a download or unzip created a new "filename"? Even disambiguation via prompts would be extremel

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Gerhard Postpischil
On 12/1/2013 9:27 AM, Mike Schwab wrote: TSO appends a prefix of your userid to your data set name unless you specify quotes. Sometimes. The value that is prepended is the user id only by default, as the user may set a prefix of 1-7 characters. Gerhard Postpischil Bradford, Vermont

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Ted MacNEIL
>TSO appends a prefix of your userid to your data set name unless you specify >quotes. Don't forget PROFILE NOPREFIX - Ted MacNEIL eamacn...@yahoo.ca Twitter: @TedMacNEIL -- For IBM-MAIN subscribe / signoff / archive access inst

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Mike Schwab
TSO appends a prefix of your userid to your data set name unless you specify quotes. Other operating systems assume the http://en.wikipedia.org/wiki/Home_directory , Working in a shell or script, you can the current directory then you work within that directory. Windows shortcuts can specify whi

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread Ze'ev Atlas
>Ze'ev appears to me to want to graft what are essentially interactive, >conversational facilities onto JCL, which is a batch facility. This >may well be possible, but doing it will require careful thought and >much experimentation/evolutionary operation. I already concluded that the z/OS side ma

Re: Un-authorized caller calling authorized services.

2013-12-01 Thread Rob Scott
Jim My advice would be to have a resource owning server that the batch caller would be a client of. The client invokes a PC owned by the server that performs some sort of SAF check before using IEAMSCHD to run the SRB in the client. Personally I would use a PC-ss and a task level RESMGR routi

Re: z/OS is antique WAS: Aging Sysprogs = Aging Farmers

2013-12-01 Thread John Gilmore
There is a restaurant near me here, just west of Boston in the United States, that serves 'fusion cuisine', its dishes are a mixture of the ingredients and techniques of Greek, Indochinese, and French cuisine. Some of these dishes are successful, but too many are not: their menu descriptions read