>From my view point, it is because the user of my program simply does EXEC 
>PGM=MYPGM rather than PGM=IKJEFT01,PARM='%MYPGM' which runs a, in my case, 
>REXX program called MYPGM, which then does the TSO allocates for the ISPF 
>datasets, followed by ISPSTART CMD(%MYPGM2). Which is either a TSO command, or 
>another REXX program which does a TSO CALL to actually invoke the processing 
>program. All that "overhead" just so that my program can, for instance, use a 
>DSINFO to __easily__ get a list of cataloged datasets and their attributes.

Again, what I really would like is something like the ISPF services (non 
DISPLAY). But make them available via a simple COBOL CALL verb without the need 
for the "complicated" JCL and REXX layers. This would allow a COBOL program to 
easily allocate and "open" a PDS, get a list of the members, and then read one 
or more of the members. All in a relatively simple, easy to use, way. The same 
with z/OS UNIX files too. Or use DSINFO for some DASD management reports.

I guess it's just a recent "itch" of mine. Not possible as I would like to do 
it, so I'm just stuck with the "clumsy" (IMO) way.

-- 
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Shmuel Metz (Seymour J.)
> Sent: Friday, May 25, 2012 8:16 AM
> To: [email protected]
> Subject: Re: IKJTSOEV & ISPF services question
> 
> In <[email protected]>,
> on 05/25/2012
>    at 07:44 AM, "McKown, John" <[email protected]> said:
> 
> >I know that I can run the TSO TMP in batch. Using this, I can run a
> >REXX program which sets up all the ISPF required datasets. I can then
> >invoke ISPSTART with the CMD(...) option to run another
> >program/CLIST/REXX. In that program, I can use most of the
> >non-DISPLAY oriented services, such as DIRLIST or DSINFO. The TSO
> >book on IKJTSOEV only talks about ISPF in the negative, but 
> >mentions display services. So, can I write a batch program which 
> >uses IKJTSOEV to set up a TSO environment. Once I have a TSO 
> >environment set, can I directly invoke ISPF services?
> 
> No. ISPF services are only available for applications running under
> ISPF. 
> 
> The good news is that ISPF display services are available in batch if
> you connect to the WSA on a PC.
> 
> >What I would like to do is to have some simple way in a batch
> >program to invoke ISPF services such as DSINFO without the
> >"hokeyness" of running the TSO TMP. 
> 
> Why isn't IKJTSOEV just as hokey?
>  
> -- 
>      Shmuel (Seymour J.) Metz, SysProg and JOAT
>      ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
> We don't care. We don't have to care, we're Congress.
> (S877: The Shut up and Eat Your spam act of 2003)
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> 
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to