Re: JCL DD SUBSYS - how to write the SUBSYS

2013-12-30 Thread Tony Harminc
On 20 July 2012 22:06, Jim Mulder  wrote:
>   The Subsystem Interface in MVS/SP Version 3   GC66-3131-00
>   August 1989

I'm guessing this should be GG66-3131. Trivia, and I may well be
wrong, but I'm including it here so it becomes searchable.

Tony H.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: JCL DD SUBSYS - how to write the SUBSYS

2012-07-22 Thread Miklos Szigetvari

Hi

If you still interested, I wrote couple of years ago a SUBSYSTEM use 
APPC (LU6.2) to access PC data something like this:

//OUTPUT DD DSN='T:/miklos/K0917.MVS',DISP=SHR,
//  DCB=(RECFM=VB,LRECL=8192),
// SUBSYS=(QNTA,'SYSTEM=OS2APPC9,DATA=AFPDS')

I can give you the source offlist.

On 15.07.2012 02:35, Anthony Fletcher wrote:

Has anyone found where there is documentation on how to code a SUBSYSTEM that 
could be the target of a JCL DD SUBSYS=(xyz,abc) statement? I am looking for 
information on how to code the subsystem itself and how to pick up the DD 
information and the PARM passed to the subsystem.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: JCL DD SUBSYS - how to write the SUBSYS

2012-07-20 Thread Jim Mulder
> Well, Batch LSR Subsystem(BLSR)  started out as a sample of how to write 
a
> subsystem, IIRC. I think it was in a WSC orange book.
> 
> But I don't know how to locate it now. Anyone?

  The Subsystem Interface in MVS/SP Version 3   GC66-3131-00
  August 1989 

  I have a hardcopy of a pre-publication draft of this book.
It was from WSC, but I don't know what color the published
version was.

  The authors of the book wrote an assembler language subsystem
which was originally going to be included with the book as a sample 
program.  That code ended up being rewritten in PL/AS, renamed as 
Batch LSR, and shipped as a PTF on top of MVS SP 3.1.3.  The
original assembler code is probably long gone.  I thought I had 
kept a copy, but:

ARC1010I USER REQUEST FOR A MIGRATED DATA SET FAILED. 
ARC1001I D10JHM1.PHPD.PLAS  RECALL FAILED, RC=0003, REAS=0004
ARC1103I MIGRATION/BACKUP/DUMP VOLUME NOT AVAILABLE 

 
> Has anyone found where there is documentation on how to code a SUBSYSTEM
> that could be the target of a JCL DD SUBSYS=(xyz,abc) statement? I am
> looking for information on how to code the subsystem itself and how to
> pick up the DD information and the PARM passed to the subsystem.


Jim Mulder   z/OS System Test   IBM Corp.  Poughkeepsie,  NY

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: JCL DD SUBSYS - how to write the SUBSYS

2012-07-15 Thread David Stokes
Having fairly recently developed such a subsystem I can confirm that the 
General Purpose Subsystem Access Method (I believe that's what the acronym 
stands for, our systems in Dallas are down today so I can't check directly)
is a decent introduction, although it glosses over a lot of issues which need 
to be resolved for a practical stable application, if you're doing something 
non-trivial. Also the iefssi, iefssvt, iefssvti descriptions in Using The 
Subsystem Interface and Auth Assembler Reference are required reading.

As far as accessing DD parameters is concerned we needed to scan the text in 
the C/I exit and look up the RB chain in Group Allocation to find the Dynalloc 
SVC parameters in order to get all we needed. So there's some quite interesting 
work involved.

-Ursprüngliche Nachricht-
Von: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] Im Auftrag 
von Anthony Fletcher
Gesendet: Sonntag, 15. Juli 2012 02:35
An: IBM-MAIN@LISTSERV.UA.EDU
Betreff: JCL DD SUBSYS - how to write the SUBSYS

Has anyone found where there is documentation on how to code a SUBSYSTEM that 
could be the target of a JCL DD SUBSYS=(xyz,abc) statement? I am looking for 
information on how to code the subsystem itself and how to pick up the DD 
information and the PARM passed to the subsystem.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: JCL DD SUBSYS - how to write the SUBSYS

2012-07-15 Thread Martin Packer
Well, Batch LSR Subsystem(BLSR)  started out as a sample of how to write a 
subsystem, IIRC. I think it was in a WSC orange book.

But I don't know how to locate it now. Anyone?

Thanks, Martin

Martin Packer,
zChampion, Principal Systems Investigator,
Worldwide Banking Center of Excellence, IBM

+44-7802-245-584

email: martin_pac...@uk.ibm.com

Twitter / Facebook IDs: MartinPacker
Blog: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker



From:
Anthony Fletcher 
To:
IBM-MAIN@listserv.ua.edu, 
Date:
07/15/2012 01:35 AM
Subject:
JCL DD SUBSYS - how to write the SUBSYS
Sent by:
IBM Mainframe Discussion List 



Has anyone found where there is documentation on how to code a SUBSYSTEM 
that could be the target of a JCL DD SUBSYS=(xyz,abc) statement? I am 
looking for information on how to code the subsystem itself and how to 
pick up the DD information and the PARM passed to the subsystem.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN








Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU






--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: JCL DD SUBSYS - how to write the SUBSYS

2012-07-14 Thread Paul Gilmartin
On Sat, 14 Jul 2012 20:54:27 -0400, Tony Harminc wrote:
>
>For a worked example with doc from 30 years ago, look at GPSAM in CBT file 290:
>  http://cbttape.org/ftp/cbt/CBT290.zip
>
>Of course it's all 24-bit, but it probably still works fine on the latest
>z/OS. At most it will need minor modification.
> 
You mean full 30 years ago someone wrote an access method for
Global Positioning System?

(Call the Acronym Police!)

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: JCL DD SUBSYS - how to write the SUBSYS

2012-07-14 Thread Binyamin Dissen
On Sat, 14 Jul 2012 19:35:21 -0500 Anthony Fletcher 
wrote:

:>Has anyone found where there is documentation on how to code a SUBSYSTEM that 
could be the target of a JCL DD SUBSYS=(xyz,abc) statement? I am looking for 
information on how to code the subsystem itself and how to pick up the DD 
information and the PARM passed to the subsystem.

Start with "MVS Using the Subsystem Interface"

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: JCL DD SUBSYS - how to write the SUBSYS

2012-07-14 Thread Tony Harminc
On 14 July 2012 20:35, Anthony Fletcher  wrote:

> Has anyone found where there is documentation on how to code a SUBSYSTEM
> that could be the target of a JCL DD SUBSYS=(xyz,abc) statement? I am
> looking for information on how to code the subsystem itself and how to pick
> up the DD information and the PARM passed to the subsystem.
>

For a worked example with doc from 30 years ago, look at GPSAM in CBT file
290:
http://cbttape.org/ftp/cbt/CBT290.zip

Of course it's all 24-bit, but it probably still works fine on the latest
z/OS. At most it will need minor modification.

Tony H.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


JCL DD SUBSYS - how to write the SUBSYS

2012-07-14 Thread Anthony Fletcher
Has anyone found where there is documentation on how to code a SUBSYSTEM that 
could be the target of a JCL DD SUBSYS=(xyz,abc) statement? I am looking for 
information on how to code the subsystem itself and how to pick up the DD 
information and the PARM passed to the subsystem.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN