Re: Ikjeft01

2012-01-27 Thread Walt Farrell
On Fri, 27 Jan 2012 11:23:51 -0600, Dan  wrote:

>> Another would be (for simple SEARCH commands) to use either RACROUTE 
>> REQUEST=EXTRACT,TYPE=EXTRACTN.
>
>Does anyone know where I might find a sample of this function?
>I'd like to extract the OTHER groups that are available to the current user.

You don't need any kind of RACROUTE request to do that, if I've understood what 
you want to do. Simply look in the current user's ACEE, find ACEEFCGP, and look 
in the static list-of-groups table (CGRP) anchored there.

-- 
Walt Farrell
IBM STSM, z/OS Security Design

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


Re: Ikjeft01

2012-01-27 Thread Scott Ford
Dan,

The cbttapes are good see file 080

Sent from my iPad
Scott Ford
Senior Systems Engineer
www.identityforge.com



On Jan 27, 2012, at 12:23 PM, Dan  wrote:

>> Another would be (for simple SEARCH commands) to use either RACROUTE 
>> REQUEST=EXTRACT,TYPE=EXTRACTN.
> 
> Does anyone know where I might find a sample of this function?
> I'd like to extract the OTHER groups that are available to the current user.
> 
> Thanks,
> Dan D.
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

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


Re: Ikjeft01

2012-01-27 Thread Dan
> Another would be (for simple SEARCH commands) to use either RACROUTE 
> REQUEST=EXTRACT,TYPE=EXTRACTN.

Does anyone know where I might find a sample of this function?
I'd like to extract the OTHER groups that are available to the current user.

Thanks,
Dan D.

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


Re: Ikjeft01

2012-01-24 Thread Walt Farrell
On Mon, 23 Jan 2012 15:44:39 -0500, Scott Ford  wrote:

>Thanks to all, there is one thing that forced us as a vendor to use external 
>resources outside our
>STC it is the 4096 line limitation to IRRSEQ00. I hope IBM will resolve this. 
>We have one customer with 350,000 RACF userids, if u do a SEARCH CLASS(USER) a 
>failure will occur.
>
>Hopefully, I can take some time to write the new RACROUTE calls and give these 
>ideas a whirl.

For the USER class you should use IRRSEQ00 with the ADMN_XTR_USER and 
ACMN_XTR_NEXT_USER functions.

-- 
Walt Farrell
IBM STSM, z/OS Security Design

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


Re: Ikjeft01

2012-01-23 Thread Scott Ford
All,

Thanks to all, there is one thing that forced us as a vendor to use external 
resources outside our
STC it is the 4096 line limitation to IRRSEQ00. I hope IBM will resolve this. 
We have one customer with 350,000 RACF userids, if u do a SEARCH CLASS(USER) a 
failure will occur.

Hopefully, I can take some time to write the new RACROUTE calls and give these 
ideas a whirl.



Sent from my iPad
Scott Ford
Senior Systems Engineer
www.identityforge.com



On Jan 23, 2012, at 1:59 PM, Walt Farrell  wrote:

> On Mon, 23 Jan 2012 11:25:30 -0500, Scott Ford  wrote:
> 
>> Sorry guys my fault, I should have explained. My LE COBOL program is APF 
>> authorized.
>> I want to be able to all call IKJEFT01 to invoke authorized functions. These 
>> calls are RACF or one of the other security subsystems. I know  certain 
>> authorized calls I cannot make , now I am submitting a batch IKJEFT01 job 
>> stream to the Intrdr and I want to internalize this process to the
>> COBOL STC. Another solution is where can I find an example of an equivalent 
>> of
>> RACF SEARCH CLASS(FACILITY) or DATASET ?
>> 
> 
> John McKown has provided a couple of alternatives (IRRSEQ00 callable service, 
> see RACF Callable Services) or REXX.
> 
> Another would be (for simple SEARCH commands) to use either RACROUTE 
> REQUEST=EXTRACT,TYPE=EXTRACTN. I'd have a preference for either the RACROUTE 
> or callable service, because the command processor output is officially not a 
> programming interface. But it's pretty simple output in this case.,
> 
> And the best form of the IRRSEQ00 callable service, using one of the 
> ADMN_XTR_* functions won't work for the DATASET class. And I have no idea 
> whether or to what extent the other security products support IRRSEQ00.
> 
> Of course, you're getting into an area where each of the security products 
> will be returning very different data, so you might as well have 3 different 
> programs using 3 different mechanisms of extracting data anyway.
> 
> -- 
> Walt Farrell
> IBM STSM, z/OS Security Design
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

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


Re: Ikjeft01

2012-01-23 Thread Itschak Mugzach
What's wrong with CALL  TSOLNK using "TSOEXEC RL ..."?. It will invoke TMP
and will run your command.

ITschak

On Mon, Jan 23, 2012 at 6:25 PM, Scott Ford  wrote:

> Sorry guys my fault, I should have explained. My LE COBOL program is APF
> authorized.
> I want to be able to all call IKJEFT01 to invoke authorized functions.
> These calls are RACF or one of the other security subsystems. I know
>  certain authorized calls I cannot make , now I am submitting a batch
> IKJEFT01 job stream to the Intrdr and I want to internalize this process to
> the
> COBOL STC. Another solution is where can I find an example of an
> equivalent of
> RACF SEARCH CLASS(FACILITY) or DATASET ?
>
>
>
> Sent from my iPad
> Scott Ford
> Senior Systems Engineer
> www.identityforge.com
>
>
>
> On Jan 23, 2012, at 10:44 AM, John Gilmore 
> wrote:
>
> > Scott,
> >
> > I know of COBOL APs that create a jobstream/card-image sequence that
> > in turn invokes IKJEFT01, writing it out to the internal reader; and I
> > have myself done this in PL/I.
> >
> > Are you thinking of something more direct?
> >
> > --jg
> >
> > On 1/23/12, Scott Ford  wrote:
> >> All,
> >>
> >> Does anyone know or have called IKJEFT01 from a LE COBOL program.
> >> I have read manuals and googled and found no definitive answer.
> >>
> >> Sent from my iPad
> >> Scott Ford
> >> Senior Systems Engineer
> >> www.identityforge.com
> >>
> >> --
> >> For IBM-MAIN subscribe / signoff / archive access instructions,
> >> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
> >>
> >
> >
> > --
> > John Gilmore, Ashland, MA 01721 - USA
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
>

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


Re: Ikjeft01

2012-01-23 Thread Walt Farrell
On Mon, 23 Jan 2012 11:25:30 -0500, Scott Ford  wrote:

>Sorry guys my fault, I should have explained. My LE COBOL program is APF 
>authorized.
>I want to be able to all call IKJEFT01 to invoke authorized functions. These 
>calls are RACF or one of the other security subsystems. I know  certain 
>authorized calls I cannot make , now I am submitting a batch IKJEFT01 job 
>stream to the Intrdr and I want to internalize this process to the
>COBOL STC. Another solution is where can I find an example of an equivalent of
>RACF SEARCH CLASS(FACILITY) or DATASET ?
>

John McKown has provided a couple of alternatives (IRRSEQ00 callable service, 
see RACF Callable Services) or REXX.

Another would be (for simple SEARCH commands) to use either RACROUTE 
REQUEST=EXTRACT,TYPE=EXTRACTN. I'd have a preference for either the RACROUTE or 
callable service, because the command processor output is officially not a 
programming interface. But it's pretty simple output in this case.,

And the best form of the IRRSEQ00 callable service, using one of the ADMN_XTR_* 
functions won't work for the DATASET class. And I have no idea whether or to 
what extent the other security products support IRRSEQ00.

Of course, you're getting into an area where each of the security products will 
be returning very different data, so you might as well have 3 different 
programs using 3 different mechanisms of extracting data anyway.

-- 
Walt Farrell
IBM STSM, z/OS Security Design

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


Re: Ikjeft01

2012-01-23 Thread McKown, John
I'm fairly sure that Walt Farrel (RACF person) would strongly suggest using the 
RACF HLL Callable Services
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICHZD1B0/2.19

But this is probably not as easy. 

One vague thing rattling around in my head , is to use REXX. 
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4a390/8.3
You could then invoke a REXX program (in-memory) which uses the BPXWUNIX() 
function to invoke the "tsocmd" UNIX command. This command, under z/OS 1.12+, 
can do the RACF SEARCH.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/bpxzb6a0/5.2
You might even be able to use System/REXX. But I'm not at all familar with 
that, or how to use it.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
john.mck...@healthmarkets.com * 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:IBM-MAIN@bama.ua.edu] On Behalf Of Scott Ford
> Sent: Monday, January 23, 2012 10:25 AM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: Ikjeft01
> 
> Sorry guys my fault, I should have explained. My LE COBOL 
> program is APF authorized.
> I want to be able to all call IKJEFT01 to invoke authorized 
> functions. These calls are RACF or one of the other security 
> subsystems. I know  certain authorized calls I cannot make , 
> now I am submitting a batch IKJEFT01 job stream to the Intrdr 
> and I want to internalize this process to the 
> COBOL STC. Another solution is where can I find an example of 
> an equivalent of 
> RACF SEARCH CLASS(FACILITY) or DATASET ? 
> 
> 
> 
> Sent from my iPad
> Scott Ford
> Senior Systems Engineer
> www.identityforge.com
> 
> 
> 
> On Jan 23, 2012, at 10:44 AM, John Gilmore 
>  wrote:
> 
> > Scott,
> > 
> > I know of COBOL APs that create a jobstream/card-image sequence that
> > in turn invokes IKJEFT01, writing it out to the internal 
> reader; and I
> > have myself done this in PL/I.
> > 
> > Are you thinking of something more direct?
> > 
> > --jg
> > 
> > On 1/23/12, Scott Ford  wrote:
> >> All,
> >> 
> >> Does anyone know or have called IKJEFT01 from a LE COBOL program.
> >> I have read manuals and googled and found no definitive answer.
> >> 
> >> Sent from my iPad
> >> Scott Ford
> >> Senior Systems Engineer
> >> www.identityforge.com
> >> 
> >> 
> --
> >> For IBM-MAIN subscribe / signoff / archive access instructions,
> >> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
> >> 
> > 
> > 
> > -- 
> > John Gilmore, Ashland, MA 01721 - USA
> > 
> > 
> --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
> 
> 

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


Re: Ikjeft01

2012-01-23 Thread Shmuel Metz (Seymour J.)
In <7589649e-98dc-4d06-9e4e-6c18179b3...@yahoo.com>, on 01/23/2012
   at 10:18 AM, Scott Ford  said:

>Does anyone know or have called IKJEFT01 from a LE COBOL program.

Ever since TSO/E, the TMP has reqired APF authorization. Walt
suggested a viable alternative, depending on what you're really trying
to do.
 
-- 
 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 lists...@bama.ua.edu with the message: INFO IBM-MAIN


Re: Ikjeft01

2012-01-23 Thread Scott Ford
Sorry guys my fault, I should have explained. My LE COBOL program is APF 
authorized.
I want to be able to all call IKJEFT01 to invoke authorized functions. These 
calls are RACF or one of the other security subsystems. I know  certain 
authorized calls I cannot make , now I am submitting a batch IKJEFT01 job 
stream to the Intrdr and I want to internalize this process to the 
COBOL STC. Another solution is where can I find an example of an equivalent of 
RACF SEARCH CLASS(FACILITY) or DATASET ? 



Sent from my iPad
Scott Ford
Senior Systems Engineer
www.identityforge.com



On Jan 23, 2012, at 10:44 AM, John Gilmore  wrote:

> Scott,
> 
> I know of COBOL APs that create a jobstream/card-image sequence that
> in turn invokes IKJEFT01, writing it out to the internal reader; and I
> have myself done this in PL/I.
> 
> Are you thinking of something more direct?
> 
> --jg
> 
> On 1/23/12, Scott Ford  wrote:
>> All,
>> 
>> Does anyone know or have called IKJEFT01 from a LE COBOL program.
>> I have read manuals and googled and found no definitive answer.
>> 
>> Sent from my iPad
>> Scott Ford
>> Senior Systems Engineer
>> www.identityforge.com
>> 
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
>> 
> 
> 
> -- 
> John Gilmore, Ashland, MA 01721 - USA
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

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


Re: Ikjeft01

2012-01-23 Thread Paul Gilmartin
On Mon, 23 Jan 2012 10:01:42 -0600, Walt Farrell wrote:

>On Mon, 23 Jan 2012 10:18:41 -0500, Scott Ford wrote:
>
>>Does anyone know or have called IKJEFT01 from a LE COBOL program.
>>I have read manuals and googled and found no definitive answer.
>
>I believe that IKJEFT01 must be invoked APF-authorized, and that probably your 
>COBOL program runs unauthorized.
>
>What exactly are you trying to accomplish? If you explain your need, rather 
>than asking about one possible solution, we may have more success suggesting 
>alternatives.
> 
For a Rube Goldberg, from Rexx I've done "address SYSCALL spawn" (I
believe the assembler equivalent is BPX1SPN) of a Rexx EXEC in a UNIX
file which issues the UNIX flavor of "address TSO" which starts a separate
address space, circumventing the APF limitations.  Trapping output is
elementary -- it comes back in stdout.  The drawback is the new TSO
address space doesn't share DDNAME allocations with the parent.

-- gil

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


Re: Ikjeft01

2012-01-23 Thread Walt Farrell
On Mon, 23 Jan 2012 10:18:41 -0500, Scott Ford  wrote:

>Does anyone know or have called IKJEFT01 from a LE COBOL program.
>I have read manuals and googled and found no definitive answer.

I believe that IKJEFT01 must be invoked APF-authorized, and that probably your 
COBOL program runs unauthorized.

What exactly are you trying to accomplish? If you explain your need, rather 
than asking about one possible solution, we may have more success suggesting 
alternatives.

But to start, if you're trying to invoke non-APF-authorized commands, you could 
invoke IKJEFTSI to setup the TSO/E service facility, and then IKJEFTSR to 
invoke the TSO commands. You'd perhaps want to use an assembler subroutine to 
make those calls, though, rather than doing so directly from COBOL. And you'd 
still have to deal with the issue of how you'd trap the output from the 
commands.

So, the more details you can provide of what you need to accomplish the more 
help we can provide.

-- 
Walt Farrell
IBM STSM, z/OS Security Design

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


Re: Ikjeft01

2012-01-23 Thread Steve Comstock

On 1/23/2012 8:18 AM, Scott Ford wrote:

All,

Does anyone know or have called IKJEFT01 from a LE COBOL program.
I have read manuals and googled and found no definitive answer.

Sent from my iPad
Scott Ford
Senior Systems Engineer
www.identityforge.com


What are you trying to accomplish? I've invoked TSO
facilities (IKJEFTSR, IKJCT441, IKJTSOEV) from COBOL
(and PL/I, and C, and Assembler), but I've not called
TSO itself from any program.



--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-355-2752
http://www.trainersfriend.com

* To get a good Return on your Investment, first make an investment!
  + Training your people is an excellent investment

* Try our tool for calculating your Return On Investment
for training dollars at
  http://www.trainersfriend.com/ROI/roi.html

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


Re: Ikjeft01

2012-01-23 Thread John Gilmore
Scott,

I know of COBOL APs that create a jobstream/card-image sequence that
in turn invokes IKJEFT01, writing it out to the internal reader; and I
have myself done this in PL/I.

Are you thinking of something more direct?

--jg

On 1/23/12, Scott Ford  wrote:
> All,
>
> Does anyone know or have called IKJEFT01 from a LE COBOL program.
> I have read manuals and googled and found no definitive answer.
>
> Sent from my iPad
> Scott Ford
> Senior Systems Engineer
> www.identityforge.com
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
>


-- 
John Gilmore, Ashland, MA 01721 - USA

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


Ikjeft01

2012-01-23 Thread Scott Ford
All,

Does anyone know or have called IKJEFT01 from a LE COBOL program.
I have read manuals and googled and found no definitive answer.

Sent from my iPad
Scott Ford
Senior Systems Engineer
www.identityforge.com

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


Re: IKJEFT01

2011-05-06 Thread Bill Johnson
Glenn, Good idea. I will ask them the same thing you did. While it isn't  
something we need often, when you do need it, you really need it.
Bill Johnson




From: Glenn Miller 
To: IBM-MAIN@bama.ua.edu
Sent: Fri, May 6, 2011 1:46:51 AM
Subject: Re: IKJEFT01

Hi Bill,

I have a similar requirement to yours with CA-Topsecret.  I was encouraged
after reading some information about a product called: "Tivoli zSecure
Admin".  According to its User Reference manual, "The Tivoli zSecure Admin
RACF Offline function provides the possibility to issue most RACF commands
against an inactive RACF database."  I opened a question with CA on their
support website just a couple of months ago asking if Topsecret has the same
or similar 'offline' capability as the "Tivoli zSecure Admin RACF Offline"
function.  Their answer was no.  I also asked if they were considering
adding that 'offline' capability to Topsecret in a future release or future
product or product add-on.  Their answer was again no.  

Since you have a very similar requirement to mine, maybe if you open a
question on CA's support site, they might reconsider their 'no' answer. 
Especially since my question on their support site was only a few months ago.

HTH
Glenn Miller

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IKJEFT01

2011-05-05 Thread Glenn Miller
Hi Bill,

I have a similar requirement to yours with CA-Topsecret.  I was encouraged
after reading some information about a product called: "Tivoli zSecure
Admin".  According to its User Reference manual, "The Tivoli zSecure Admin
RACF Offline function provides the possibility to issue most RACF commands
against an inactive RACF database."  I opened a question with CA on their
support website just a couple of months ago asking if Topsecret has the same
or similar 'offline' capability as the "Tivoli zSecure Admin RACF Offline"
function.  Their answer was no.  I also asked if they were considering
adding that 'offline' capability to Topsecret in a future release or future
product or product add-on.  Their answer was again no.  

Since you have a very similar requirement to mine, maybe if you open a
question on CA's support site, they might reconsider their 'no' answer. 
Especially since my question on their support site was only a few months ago.

HTH
Glenn Miller

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


Re: IKJEFT01

2011-05-03 Thread Shmuel Metz (Seymour J.)
In <01f101cc099a$080439d0$180cad70$@mindspring.com>, on 05/03/2011
   at 09:57 AM, Lizette Koehler  said:

>TSO Batch is very similar to TSO Foreground.  So if you can do in
>ISPF Option 6 you can do it in batch.

Alas, no. TSO batch will work correctly for most commands that use
PUTLINE, GETLINE and PUTGET, but is more problematical for commands
that use TGET and TPUT directly.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see  
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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IKJEFT01

2011-05-03 Thread Shmuel Metz (Seymour J.)
In <431357.44567...@web126013.mail.ne1.yahoo.com>, on 05/03/2011
   at 06:14 AM, Bill Johnson  said:

>I'm trying to run a TSO command using IKJEFT01 but I want the command
>to work on  a dataset.

You can point SYSTSIN to a dataset containing commands and
subcommands, but you can't change the semantics of a command. If the
command has a dataset name hardwired, then you're stuck. If the
command has a mechanism for supplying the name, then it depends on
whether it uses TGET directly for its input or uses GETLINE and
PUTGET.

In brief, you'll need to consult the documentation or vendor for the
specific command of interest.
 
-- 
 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IKJEFT01

2011-05-03 Thread Bill Johnson
Yeah, that's what I thought. Thanks everyone.






From: "Chase, John" 
To: IBM-MAIN@bama.ua.edu
Sent: Tue, May 3, 2011 10:01:37 AM
Subject: Re: IKJEFT01

> -Original Message-
> From: IBM Mainframe Discussion List On Behalf Of Bill Johnson
> 
> Our security guy normally issues Top Secret commands using IKJEFT01.
He wants to
> be able to point to an old Top Secret database no the active one.

I can't speak to CA-TSS, but RACF commands issued via IKJEFT01 work ONLY
on the "active" RACF database, and not on any "archive" copy of one.  I
suspect that CA-TSS would have a similar "limitation", but you'd
probably find that answered definitively in the CA-TSS documentation.

-jc-

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IKJEFT01

2011-05-03 Thread Lizette Koehler
> >Our security guy normally issues Top Secret commands using IKJEFT01. He
> wants to be able to point to an old Top Secret database no the active one.
> 
> Elardus  Wrote:  Ok, now we are getting hot. The question is now about
issuing a Top Secret
> command using some keywords pointing to something else. Not about IKJEFT.
> 
> Perhaps you could show here the command and all its keywords tried out?
> 
> And give some output received too...
> 
> Perhaps some Top Secret guru could helps?


Top Secret has the database name loaded in a control block at IPL time.  It
will typically only access that database.  There is no way I know of that
will allow you to use something like a TSS.OLD in JCL to access it.  In racf
I use to unload the RACF database to a sequential file to create reports or
generate command to update the RACF database.  

I am not sure you can put the TSS database in JCL and have TSO batch use it.

I would contact CA Top Secret and ask them how to do what you want.

Lizette

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


Re: IKJEFT01

2011-05-03 Thread Rob Schramm
AFAIK.. you can't issue Top Secret commands to an inactive data base.  If
there was a utility.. it would basically be running TSS under the covers to
do the work.  You can restart TSS with another DB and then issue commands
and restart again to get it back to the original DB.  The address spaces
that are already active should continue to remain active with their
associated ACEEs.  The only thing (mostly true) you have to concern yourself
with is creating new ACEEs during the time in which the "old" data base is
active.

And modifying a dead DB directly is a really bad idea... but you might be
able to make small changes... but it would be a better idea to follow the
restart TSS path.

Rob Schramm

On Tue, May 3, 2011 at 9:51 AM, Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> Bill Johnson wrote:
>
> >Our security guy normally issues Top Secret commands using IKJEFT01. He
> wants to be able to point to an old Top Secret database no the active one.
>
> Ok, now we are getting hot. The question is now about issuing a Top Secret
> command using some keywords pointing to something else. Not about IKJEFT.
>
> Perhaps you could show here the command and all its keywords tried out?
>
> And give some output received too...
>
> Perhaps some Top Secret guru could helps?
>
> Groete / Greetings
> Elardus Engelbrecht
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>



-- 
Rob Schramm
Senior Systems Engineer

w: 513.305.6224

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


Re: IKJEFT01

2011-05-03 Thread Chase, John
> -Original Message-
> From: IBM Mainframe Discussion List On Behalf Of Bill Johnson
> 
> Our security guy normally issues Top Secret commands using IKJEFT01.
He wants to
> be able to point to an old Top Secret database no the active one.

I can't speak to CA-TSS, but RACF commands issued via IKJEFT01 work ONLY
on the "active" RACF database, and not on any "archive" copy of one.  I
suspect that CA-TSS would have a similar "limitation", but you'd
probably find that answered definitively in the CA-TSS documentation.

-jc-

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


Re: IKJEFT01

2011-05-03 Thread Lizette Koehler
> 
> I'm trying to run a TSO command using IKJEFT01 but I want the command to
work on
> a dataset. Possible?
> 
> TIA
>
Bill,

TSO Batch is very similar to TSO Foreground.  So if you can do in ISPF
Option 6 you can do it in batch.

As others have pointed out, provide an example of what you want to do.
For example, if you want to edit a dataset in batch do you want native TSO
or ISPF Edit?


You can use the LM functions so can do something like 3..
You can use REXX/CLIST and execute things like RENAME, DELETE, LISTC

Depending on how you want to run in batch you should look up the differences
between

IKJEFT01
IKJEFT1A
IKJEFT1B

They all handle errors in TSO batch a little differently.

HTH

Lizette

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


Re: IKJEFT01

2011-05-03 Thread Elardus Engelbrecht
Bill Johnson wrote:

>Our security guy normally issues Top Secret commands using IKJEFT01. He 
wants to be able to point to an old Top Secret database no the active one.

Ok, now we are getting hot. The question is now about issuing a Top Secret 
command using some keywords pointing to something else. Not about IKJEFT.

Perhaps you could show here the command and all its keywords tried out?

And give some output received too...

Perhaps some Top Secret guru could helps?

Groete / Greetings
Elardus Engelbrecht

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


Re: IKJEFT01

2011-05-03 Thread Barkow, Eileen
I have a job stream which executes TSO clists and did not notice any 
restriction on the commands that can be run.
The job stream also runs SDSF batch and that is another story with its 
limitations on the commands that can be run and how they are executed.

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Barry Merrill
Sent: Tuesday, May 03, 2011 9:44 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: IKJEFT01

I know that, in the past, TSO in Batch only executed commands that used
GETLINE/PUTLINE,
and that any command that instead used GET and PUT caused the input stack of
commands
to simply stop at that command.  I don't know if this is still true, but if
the command
doesn't execute, perhaps it's still true.

Barry Merrill

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Barkow, Eileen
Sent: Tuesday, May 03, 2011 8:39 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: IKJEFT01

If you mean that you want the commands to run from a job stream, then just
run a clist from batch or invoke the IKJEFT01 Module passing it the name of
the clist to run in the first parameter and pass parms to the clist in the
following parms:

/***
/TSO  EXEC PGM=IKJEFT10,
/  PARM=('&CLIST &PARM1 &PARM2'), 

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Bill Johnson
Sent: Tuesday, May 03, 2011 9:14 AM
To: IBM-MAIN@bama.ua.edu
Subject: IKJEFT01

I'm trying to run a TSO command using IKJEFT01 but I want the command to
work on a dataset. Possible?

TIA

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IKJEFT01

2011-05-03 Thread Barry Merrill
I know that, in the past, TSO in Batch only executed commands that used
GETLINE/PUTLINE,
and that any command that instead used GET and PUT caused the input stack of
commands
to simply stop at that command.  I don't know if this is still true, but if
the command
doesn't execute, perhaps it's still true.

Barry Merrill

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Barkow, Eileen
Sent: Tuesday, May 03, 2011 8:39 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: IKJEFT01

If you mean that you want the commands to run from a job stream, then just
run a clist from batch or invoke the IKJEFT01 Module passing it the name of
the clist to run in the first parameter and pass parms to the clist in the
following parms:

/***
/TSO  EXEC PGM=IKJEFT10,
/  PARM=('&CLIST &PARM1 &PARM2'), 

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Bill Johnson
Sent: Tuesday, May 03, 2011 9:14 AM
To: IBM-MAIN@bama.ua.edu
Subject: IKJEFT01

I'm trying to run a TSO command using IKJEFT01 but I want the command to
work on a dataset. Possible?

TIA

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IKJEFT01

2011-05-03 Thread Bill Johnson
Our security guy normally issues Top Secret commands using IKJEFT01. He wants 
to 
be able to point to an old Top Secret database no the active one.





From: Mary Anne Matyaz 
To: IBM-MAIN@bama.ua.edu
Sent: Tue, May 3, 2011 9:31:24 AM
Subject: Re: IKJEFT01

Bill, maybe you could give us an example, like, do you want to do a listcat?
Yes, you can do that. Edit a dataset? Sure, can do. 

Mary Anne

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IKJEFT01

2011-05-03 Thread Barkow, Eileen
If you mean that you want the commands to run from a job stream, then just run 
a clist from batch or invoke the IKJEFT01
Module passing it the name of the clist to run in the first parameter and pass 
parms to the clist in the following parms:

/***
/TSO  EXEC PGM=IKJEFT10,
/  PARM=('&CLIST &PARM1 &PARM2'), 

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Bill Johnson
Sent: Tuesday, May 03, 2011 9:14 AM
To: IBM-MAIN@bama.ua.edu
Subject: IKJEFT01

I'm trying to run a TSO command using IKJEFT01 but I want the command to work 
on 
a dataset. Possible?

TIA

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IKJEFT01

2011-05-03 Thread Field, Alan C.
Still not much help.

You mean something like?

//TSO EXEC PGM=IKJEFT01,REGION=8M,DYNAMNBR=75 
//SYSTSPRT DD SYSOUT=*
//SYSTSIN  DD *   
PROFILE PREFIX(userid)
EDIT NS28.DATA
V ON  
C * 999 /NOT SCRTCH/NOT SCRTCH/ ALL   
END NOSAVE 
DELETE NS28.DATA
LISTD 'SYS1.PARMLIB' M
/*  

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
Behalf Of Bill Johnson
Sent: Tuesday, May 03, 2011 08:29 
To: IBM-MAIN@bama.ua.edu
Subject: Re: IKJEFT01

Perform the command on a dataset





From: Paul Gilmartin 
To: IBM-MAIN@bama.ua.edu
Sent: Tue, May 3, 2011 9:19:43 AM
Subject: Re: IKJEFT01

On Tue, 3 May 2011 06:14:08 -0700, Bill Johnson wrote:

>I'm trying to run a TSO command using IKJEFT01 but I want the command
to work 
on
>a dataset. Possible?
>
"work on" is pretty vague.  Clarify.

-- gil

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


Re: IKJEFT01

2011-05-03 Thread Mary Anne Matyaz
Bill, maybe you could give us an example, like, do you want to do a listcat?
Yes, you can do that. Edit a dataset? Sure, can do. 

Mary Anne

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


Re: IKJEFT01

2011-05-03 Thread Elardus Engelbrecht
Bill Johnson wrote:

>I'm trying to run a TSO command using IKJEFT01 but I want the command to 
work on a dataset. Possible?

Yes, it depends (batch or interactive).

What command do you want to use? What is your aim/goal with the dataset?

Groete / Greetings
Elardus Engelbrecht

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


Re: IKJEFT01

2011-05-03 Thread Bill Johnson
Perform the command on a dataset





From: Paul Gilmartin 
To: IBM-MAIN@bama.ua.edu
Sent: Tue, May 3, 2011 9:19:43 AM
Subject: Re: IKJEFT01

On Tue, 3 May 2011 06:14:08 -0700, Bill Johnson wrote:

>I'm trying to run a TSO command using IKJEFT01 but I want the command to work 
on
>a dataset. Possible?
>
"work on" is pretty vague.  Clarify.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: IKJEFT01

2011-05-03 Thread Stone, Sandy
Check Quickref! 
Great help. 
s

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
Behalf Of Bill Johnson
Sent: Tuesday, May 03, 2011 9:14 AM
To: IBM-MAIN@bama.ua.edu
Subject: IKJEFT01

I'm trying to run a TSO command using IKJEFT01 but I want the command to
work on 
a dataset. Possible?

TIA

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


 
http://www.medmutual.com/
Ohio's Get-Well Card®
Visit http://www.medmutual.com/
CONFIDENTIALITY NOTICE:
This message is intended only for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, confidential or 
exempt from disclosure by law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that you are 
strictly prohibited from printing, storing, disseminating, distributing or 
copying this message. If you have received this message in error, please notify 
us immediately by replying to the message and deleting it from your computer. 
Neither this information block, the typed name of the sender, nor anything else 
in this message is intended to constitute an electronic signature, unless a 
specific statement to the contrary is included in this message.
Thank you, Medical Mutual of Ohio.

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


Re: IKJEFT01

2011-05-03 Thread Paul Gilmartin
On Tue, 3 May 2011 06:14:08 -0700, Bill Johnson wrote:

>I'm trying to run a TSO command using IKJEFT01 but I want the command to work 
>on
>a dataset. Possible?
>
"work on" is pretty vague.  Clarify.

-- gil

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


Re: IKJEFT01

2011-05-03 Thread Scott Rowe
Yes.

On Tue, May 3, 2011 at 9:14 AM, Bill Johnson  wrote:

> I'm trying to run a TSO command using IKJEFT01 but I want the command to
> work on
> a dataset. Possible?
>
> TIA
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains
confidential and privileged information intended only for the addressee.
If you are not the intended recipient, please be advised that you have
received this material in error and that any forwarding, copying, printing,
distribution, use or disclosure of the material is strictly prohibited.
If you have received this material in error, please (i) do not read it,
(ii) reply to the sender that you received the message in error, and
(iii) erase or destroy the material. Emails are not secure and can be
intercepted, amended, lost or destroyed, or contain viruses. You are deemed
to have accepted these risks if you communicate with us by email. Thank you.

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


IKJEFT01

2011-05-03 Thread Bill Johnson
I'm trying to run a TSO command using IKJEFT01 but I want the command to work 
on 
a dataset. Possible?

TIA

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


Re: Running IKJEFT01 in Batch receive command SYS00006

2010-08-05 Thread Shmuel Metz (Seymour J.)
In <006f01cb2a80$10f25ad0$32d710...@net>, on 07/23/2010
   at 11:59 AM, Micheal Butz  said:

>My question doing a receive command what does SYS6 Look for

SYS6 is just a generated ddname; you can't tell anything from it.

If you put a PROFILE WTPMSG command before the RECEIVE, do you get any
additional messages? How large is the data set you are receiving, and
how much space is available in STORAGE volumes?
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see  
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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Running IKJEFT01 in Batch receive command SYS00006

2010-07-23 Thread Pinnacle
- Original Message - 
From: "Micheal Butz" 

Newsgroups: bit.listserv.ibm-main
Sent: Friday, July 23, 2010 12:00 PM
Subject: Running IKJEFT01 in Batch receive command SYS6



I got the following message running TSO in batch using the receive command



My question doing a receive command what does SYS6 Look for



IEF877E IBMUSER$ NEEDS 1 UNIT(S)  925

FOR RECEIVE SYS6

FOR VOLUME SCRTCH-   1



Michael,

Try running with NOLOG and NONOTIFY.

Regards,
Tom Conley 


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


Re: Running IKJEFT01 in Batch receive command SYS00006

2010-07-23 Thread Micheal Butz
None of DASD are SMS managed 

Thing is receive works under TSO

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf
Of Ulrich Krueger
Sent: Friday, July 23, 2010 12:27 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Running IKJEFT01 in Batch receive command SYS6

Do you have at least one disk volume mounted STORAGE or PUBLIC in your
system's DASD farm? RECEIVE needs room to allocate a temporary dataset.


Regards,
Ulrich Krueger

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf
Of Micheal Butz
Sent: Friday, July 23, 2010 09:00
To: IBM-MAIN@bama.ua.edu
Subject: Running IKJEFT01 in Batch receive command SYS6

I got the following message running TSO in batch using the receive command 

 

My question doing a receive command what does SYS6 Look for

 

IEF877E IBMUSER$ NEEDS 1 UNIT(S)  925

FOR RECEIVE SYS6 

FOR VOLUME SCRTCH-   1   


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Running IKJEFT01 in Batch receive command SYS00006

2010-07-23 Thread Mark Zelden
On Fri, 23 Jul 2010 11:59:43 -0400, Micheal Butz 
wrote:

>I got the following message running TSO in batch using the receive command
>
>
>
>My question doing a receive command what does SYS6 Look for
>
>
>
>IEF877E IBMUSER$ NEEDS 1 UNIT(S)  925
>
>FOR RECEIVE SYS6
>
>FOR VOLUME SCRTCH-   1
>
>

Default unit for the TSO user?  Did you try specifying an output data set
name?  Is the output dsn SMS controlled?  If not is receive trying to go to
a public / storage mounted volume and none exist in your environment.

Try RECEIVE and specify the the output data set name, UNIT(SYSALLDA) and
a volser.

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS   
mailto:mzel...@flash.net  
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html 
Systems Programming expert at http://expertanswercenter.techtarget.com/

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


Re: Running IKJEFT01 in Batch receive command SYS00006

2010-07-23 Thread Ulrich Krueger
Do you have at least one disk volume mounted STORAGE or PUBLIC in your
system's DASD farm? RECEIVE needs room to allocate a temporary dataset.


Regards,
Ulrich Krueger

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf
Of Micheal Butz
Sent: Friday, July 23, 2010 09:00
To: IBM-MAIN@bama.ua.edu
Subject: Running IKJEFT01 in Batch receive command SYS6

I got the following message running TSO in batch using the receive command 

 

My question doing a receive command what does SYS6 Look for

 

IEF877E IBMUSER$ NEEDS 1 UNIT(S)  925

FOR RECEIVE SYS6 

FOR VOLUME SCRTCH-   1   


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Running IKJEFT01 in Batch receive command SYS00006

2010-07-23 Thread Micheal Butz
I got the following message running TSO in batch using the receive command 

 

My question doing a receive command what does SYS6 Look for

 

IEF877E IBMUSER$ NEEDS 1 UNIT(S)  925

FOR RECEIVE SYS6 

FOR VOLUME SCRTCH-   1   


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


Re: Can TSO read Virtual tape using IKJEFT01 to FTP

2010-02-23 Thread Ed Gould

From: Lizette Koehler 
To: IBM-MAIN@bama.ua.edu
Sent: Tue, February 23, 2010 4:49:31 PM
Subject: Re: Can TSO read Virtual tape using IKJEFT01 to FTP

In the old days you have the ACCOUNT function in TSO that you could set MOUNT.  
In today's environment, I think that is controlled in the TSO Segment of your 
security product.  

So I would check with your security admins to see if your TSO Segment has MOUNT 
capability.

Lizette
SNIP-

Ahh the mount authority... we had a terrible time with this and the MSS (3850 
for all you newbies).
In order to mount a volume tso users had to be given MOUNT the problem with 
that as I explained to management there is no difference to MVS whether it is a 
disk mount or a tape mount..

Only a few systems people had it after a big fight and we had to be extra 
careful a tapemount wasn't requested. This caused no end of confusion to the 
operators.

The other issue was that the MSS was not to fast about mounting volumes and it 
tied up Q$ for a long time causing others to wait. We had more stand alones 
involving sysiefsdq4 (close anyway) that out IBM rep got a name for himself 
back in boulder.

Ed




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


Re: Can TSO read Virtual tape using IKJEFT01 to FTP

2010-02-23 Thread Lizette Koehler
In the old days you have the ACCOUNT function in TSO that you could set MOUNT.  
In today's environment, I think that is controlled in the TSO Segment of your 
security product.  

So I would check with your security admins to see if your TSO Segment has MOUNT 
capability.

Lizette


>
>I am attempting to do an FTP using IKJEFT01 and getting errors that tape mount 
>not possible. 
>I have AUTOTAPEMOUNT set to true.  
>
>It works when using pgm=ftp rather than ftping thru batch tso. 
>
>My question is, Is it possible for a tso session to read a Virtual Tape?  I 
>have tried 
>many different ways and googled but not finding what I need.  Below is the step
>I am executing and below that is the Rexx. This was as close as I could get to 
>getting the tape to actually mount but then I got abend 1102 ERROR IN FTP, RC 
>=  27000
>basically stating not able to mount tape and autotapemount not used even 
>though I have 
>autotapemount set to true in my TCPPARMS member.  Any help would be 
>appreciated.
>The reason we are using rexx is because ftp fails from time to time and we are 
>coding the ftp
>to be passed a second time when rc not =0.   So if you know of another way to 
>retry that would
>help too.
>
>//STEP0010 EXEC PGM=IKJEFT01    
>//TAPEDD   DD DISP=SHR,DSN=MOE.PSD.COMBINED.DISPEXTR.NEW
>//STEPLIB  DD DSN=JBH.PROD.LOADLIB,DISP=SHR 
>//SYSEXEC  DD DSN=JBH.PROD.SYSDEV.CLIST,DISP=SHR    
>//SYSTSPRT DD SYSOUT=*  
>//SYSOUT   DD SYSOUT=*  
>//SYSTSIN  DD * 
> EX 'DATA.SET.HERE(MEMBER)'
>
>Here is what I have in member 
>TRACE ?ALL   
>ADDRESS TSO  
>"ALLOC FI(SYSFTPD) DA('SYS2.TCPIP.PRD3.TCPPARMS(FTPDATA)') SHR REUSE"
>"EXECIO * DISKR SYSFTPD (FINIS"  
> 
>L1 = "PUT //DD:TAPEDD  ICQ_DISPATCH_BIN.TXT "    
> 
>QUEUE 'x\ xxx'   
>QUEUE 'binary'   
>QUEUE L1 
>/*QUEUE 'QUIT'*/ 
>QUEUE '' 
>"FTP  FTPTEST (EXIT" 
>/*"FTP 10.69.3.86 (EXIT" */  
>IF RC ¬= 0 THEN DO   
>    sleep (60)   
>    "NEWSTACK"   
>    QUEUE 'jbh01\piddwftp udb07pd'   
>    QUEUE L1 
>    /*QUEUE 'QUIT'*/ 
>    QUEUE ''   
>  
>
>

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


Re: Can TSO read Virtual tape using IKJEFT01 to FTP

2010-02-23 Thread McKown, John
Your TSO id must be allowed MOUNT authority in order to mount a tape (virtual 
or real), even in batch. This is a RACF thing for TSO.

PERMIT MOUNT CLASS(TSOAUTH) ACCESS(READ) ID(myid)

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * 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

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


Re: Can TSO read Virtual tape using IKJEFT01 to FTP

2010-02-23 Thread Myers, Edouard (OCTO)
The TSO Userid needs mount authority

Edouard A. Myers
Senior Information Technology Specialist
Office of the Chief Technology Officer 
DC Government 
222 Massachusetts Ave, NW, Suite 200 
Washington, DC 20001 
Phone : 202-727-4017 
Fax: 202-727-3880 
Email: edouard.my...@dc.gov
Website: http://www.octo.dc.gov

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Cynthia Davis
Sent: Tuesday, February 23, 2010 4:14 PM
To: IBM-MAIN@bama.ua.edu
Subject: Can TSO read Virtual tape using IKJEFT01 to FTP

I am attempting to do an FTP using IKJEFT01 and getting errors that tape mount 
not possible. 
I have AUTOTAPEMOUNT set to true.  

It works when using pgm=ftp rather than ftping thru batch tso. 

My question is, Is it possible for a tso session to read a Virtual Tape?  I 
have tried 
many different ways and googled but not finding what I need.  Below is the step
I am executing and below that is the Rexx. This was as close as I could get to 
getting the tape to actually mount but then I got abend 1102 ERROR IN FTP, RC 
=  27000
basically stating not able to mount tape and autotapemount not used even though 
I have 
autotapemount set to true in my TCPPARMS member.  Any help would be appreciated.
The reason we are using rexx is because ftp fails from time to time and we are 
coding the ftp
to be passed a second time when rc not =0.   So if you know of another way to 
retry that would
help too.

//STEP0010 EXEC PGM=IKJEFT01    
//TAPEDD   DD DISP=SHR,DSN=MOE.PSD.COMBINED.DISPEXTR.NEW
//STEPLIB  DD DSN=JBH.PROD.LOADLIB,DISP=SHR 
//SYSEXEC  DD DSN=JBH.PROD.SYSDEV.CLIST,DISP=SHR    
//SYSTSPRT DD SYSOUT=*  
//SYSOUT   DD SYSOUT=*  
//SYSTSIN  DD * 
 EX 'DATA.SET.HERE(MEMBER)'

Here is what I have in member 
TRACE ?ALL   
ADDRESS TSO  
"ALLOC FI(SYSFTPD) DA('SYS2.TCPIP.PRD3.TCPPARMS(FTPDATA)') SHR REUSE"
"EXECIO * DISKR SYSFTPD (FINIS"  
 
L1 = "PUT //DD:TAPEDD  ICQ_DISPATCH_BIN.TXT "    
 
QUEUE 'x\ xxx'   
QUEUE 'binary'   
QUEUE L1 
/*QUEUE 'QUIT'*/ 
QUEUE '' 
"FTP  FTPTEST (EXIT" 
/*"FTP 10.69.3.86 (EXIT" */  
IF RC ¬= 0 THEN DO   
    sleep (60)   
    "NEWSTACK"   
    QUEUE 'jbh01\piddwftp udb07pd'   
    QUEUE L1 
    /*QUEUE 'QUIT'*/ 
    QUEUE ''    
  

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Can TSO read Virtual tape using IKJEFT01 to FTP

2010-02-23 Thread Cynthia Davis
I am attempting to do an FTP using IKJEFT01 and getting errors that tape mount 
not possible. 
I have AUTOTAPEMOUNT set to true.  

It works when using pgm=ftp rather than ftping thru batch tso. 

My question is, Is it possible for a tso session to read a Virtual Tape?  I 
have tried 
many different ways and googled but not finding what I need.  Below is the step
I am executing and below that is the Rexx. This was as close as I could get to 
getting the tape to actually mount but then I got abend 1102 ERROR IN FTP, RC 
=  27000
basically stating not able to mount tape and autotapemount not used even though 
I have 
autotapemount set to true in my TCPPARMS member.  Any help would be appreciated.
The reason we are using rexx is because ftp fails from time to time and we are 
coding the ftp
to be passed a second time when rc not =0.   So if you know of another way to 
retry that would
help too.

//STEP0010 EXEC PGM=IKJEFT01    
//TAPEDD   DD DISP=SHR,DSN=MOE.PSD.COMBINED.DISPEXTR.NEW
//STEPLIB  DD DSN=JBH.PROD.LOADLIB,DISP=SHR 
//SYSEXEC  DD DSN=JBH.PROD.SYSDEV.CLIST,DISP=SHR    
//SYSTSPRT DD SYSOUT=*  
//SYSOUT   DD SYSOUT=*  
//SYSTSIN  DD * 
 EX 'DATA.SET.HERE(MEMBER)'

Here is what I have in member 
TRACE ?ALL   
ADDRESS TSO  
"ALLOC FI(SYSFTPD) DA('SYS2.TCPIP.PRD3.TCPPARMS(FTPDATA)') SHR REUSE"
"EXECIO * DISKR SYSFTPD (FINIS"  
 
L1 = "PUT //DD:TAPEDD  ICQ_DISPATCH_BIN.TXT "    
 
QUEUE 'x\ xxx'   
QUEUE 'binary'   
QUEUE L1 
/*QUEUE 'QUIT'*/ 
QUEUE '' 
"FTP  FTPTEST (EXIT" 
/*"FTP 10.69.3.86 (EXIT" */  
IF RC ¬= 0 THEN DO   
    sleep (60)   
    "NEWSTACK"   
    QUEUE 'jbh01\piddwftp udb07pd'   
    QUEUE L1 
    /*QUEUE 'QUIT'*/ 
    QUEUE ''    
 

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


Re: one IKJEFT01 job, 2 outputs in sdsf - why?

2009-03-12 Thread Bonno, Tuco
ah   EXCELLENT -- this is exactly what I was looking for -- thank you VERY 
much !!!


/s/ tuco bonno
graduate, College of Conflict Management
University of Southeast Asia
"I partied on the Ho Chi Minh Trail -- tiến lên ! "



-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Schwarz, Barry A
Sent: Wednesday, 11 March, 2009 04:13 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: one IKJEFT01 job, 2 outputs in sdsf - why?

If you look at the job on the ST panel instead of the H panel, there
will only be one row for the job.

Another approach that might work is to define an OUTPUT statements with
the JESDS and DEFAULT operands and then refer to this statement with the
OUTPUT operand on your DD statements.

-Original Message-
From: Bonno, Tuco 
Sent: Monday, March 09, 2009 12:04 PM
To: IBM-MAIN@bama.ua.edu
Subject: one IKJEFT01 job, 2 outputs in sdsf - why?

cross-posting to ibm-main, mvs-oe

running z/os 1.9

when I run this job:

  //tucopgp1   job... msgclass=x .
//abc exec pgm=IKJEFT01
//sysexec dd disp=shr, dsn=sys1.sbpxexec
//systsprt dd sysout=*
//systsin dd *

OSHELL  ls -la  /etc/  | cat

the output shows up as TWO entries in sdsf  each w/ the same jobname and
jobid:

(e.g.,)

tucopgp1job10694.   
tucopgp1job10694   .

the 90-line item is the conventional jes2 stuff (log, msg-s, jcl,
systsprt) ;
the 85-line item contains the output proper of the omvs "cat" command.

what should I add to my jcl to have all the ouput conflated into just
one item in sdsf ? 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: one IKJEFT01 job, 2 outputs in sdsf - why?

2009-03-11 Thread Schwarz, Barry A
If you look at the job on the ST panel instead of the H panel, there
will only be one row for the job.

Another approach that might work is to define an OUTPUT statements with
the JESDS and DEFAULT operands and then refer to this statement with the
OUTPUT operand on your DD statements.

-Original Message-
From: Bonno, Tuco 
Sent: Monday, March 09, 2009 12:04 PM
To: IBM-MAIN@bama.ua.edu
Subject: one IKJEFT01 job, 2 outputs in sdsf - why?

cross-posting to ibm-main, mvs-oe

running z/os 1.9

when I run this job:

  //tucopgp1   job... msgclass=x .
//abc exec pgm=IKJEFT01
//sysexec dd disp=shr, dsn=sys1.sbpxexec
//systsprt dd sysout=*
//systsin dd *

OSHELL  ls -la  /etc/  | cat

the output shows up as TWO entries in sdsf  each w/ the same jobname and
jobid:

(e.g.,)

tucopgp1job10694.   
tucopgp1job10694   .

the 90-line item is the conventional jes2 stuff (log, msg-s, jcl,
systsprt) ;
the 85-line item contains the output proper of the omvs "cat" command.

what should I add to my jcl to have all the ouput conflated into just
one item in sdsf ? 

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


Re: one IKJEFT01 job, 2 outputs in sdsf - why?

2009-03-10 Thread Jim Holloway
Sean,
The IKJEFT01 / OSHELL combination produces two sysouts because 
ishell allocates STDOUT to a temporary file under /tmp then invokes
BPXBATCH SH to run the desired command.  DD OSHOUT1 is allocated and 
STDOUT copied to it.  This dynamic allocation results in the
separated SYSOUT. 
I've taken to using the IBM supplied module BPXWUNIX to execute 
shell commands, execs and programs.  I built a tiny
five line Rexx exec to setup and call BPXWUNIX and one of it's options is 
to specify an output DD.  I also use it in Rexx as a procedure
when it's necessary to interface with USS from the MVS side of the house 
because of its small size.  5 lines of code vs  107 for OSHELL.
My Rexx looks like this
/*Rexx   */
Parse Arg uss_cmd 
Call Bpxwunix uss_cmd,, "DD:SYSTSPRT" 
If result<>0 Then Say "Rc(!!"result"!!)" 
Exit result 
 The JCL to invoke it looks like this:
//xxx JOB ('USSCMD'),MSGCLASS=O,NOTIFY=&SYSUID,REGION=0M 
//TSOBATCH EXEC PGM=IKJEFT1A 
//SYSEXEC DD DSNAME=UNIX.REXX.EXEC,DISP=SHR 
//SYSTSPRT DD SYSOUT=*,LRECL=256,RECFM=V 
//SYSTSIN DD DATA,DLM=## 
usscmd ls -E /u/jim/ 
## 

The net result is all output from the ls command goes to the SYSTSPRT DD.  
 

A word of caution, execution BPXWUNIX does not result in a shell being 
instansiated so there is no inherited path for BPXWUNIX to search.
Therefore you must supply the path to the resource to be executed except 
for internal shell commands.   For example, if you wanted to 
execute the chmount external command, the call might be  usscmd 
/usr/sbin/chmount -R -a /tmp/
with the full path to the directory where chmount lives. 

Doc for BPXWUNIX can be found at 
ftp://ftp.software.ibm.com/s390/zos/tools/rexx/rexxfunc.html 

Jim Holloway  - Metlife 
 
"Smith, Sean M"  wrote on 03/09/2009 
14:37:28 PM:
 --
> 
> Date:    Mon, 9 Mar 2009 14:37:28 -0700
> From:"Smith, Sean M" 
> Subject: Re: one IKJEFT01 job, 2 outputs in sdsf - why?
> 
> I would like to second the question...I understand that the second 
> execution is from the spawned task but is there a way to get the 
> output to come back into the originating execution?
> 
> All that being said, in your example you could use this instead:
> 
> //STEPNAME EXEC PGM=BPXBATCH,PARM='SH ls -la /etc/ | cat' 
> //STDOUT   DD SYSOUT=* 
> //STDERR   DD SYSOUT=* 
> 
> Sean Smith
> 
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
> Behalf Of Bonno, Tuco
> Sent: Monday, March 09, 2009 12:04 PM
> To: IBM-MAIN@bama.ua.edu
> Subject: one IKJEFT01 job, 2 outputs in sdsf - why?
> 
> cross-posting to ibm-main, mvs-oe
> 
> running z/os 1.9
> 
> 
> 
> when I run this job:
> 
>   //tucopgp1   jobâ?¦ msgclass=x â?¦..
> 
> //abc exec pgm=IKJEFT01
> 
> //sysexec dd disp=shr, dsn=sys1.sbpxexec
> 
> //systsprt dd sysout=*
> 
> //systsin dd *
> 
> OSHELL  ls â??la  /etc/  | cat
> 
> 
> 
> the output shows up as TWO entries in sdsf  each w/ the same jobnameand 
jobid:
> 
> (e.g.,)
> 
> tucopgp1job10694â?¦..   
> 
> tucopgp1job10694   â?¦..
> 
> 
> 
> the 90-line item is the conventional jes2 stuff (log, msg-s, jcl, 
systsprt) ;
> 
> the 85-line item contains the output proper of the omvs â??catâ? 
command.
> 
> 
> 
> what should I add to my jcl to have all the ouput conflated into 
> just one item in sdsf ? 
> 
> thank you.
> 
> 
> 
> 

The information contained in this message may be CONFIDENTIAL and is for the 
intended addressee only.  Any unauthorized use, dissemination of the 
information, or copying of this message is prohibited.  If you are not the 
intended addressee, please notify the sender immediately and delete this 
message.

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


Re: one IKJEFT01 job, 2 outputs in sdsf - why?

2009-03-10 Thread John McKown
On Tue, 10 Mar 2009 08:28:08 -0400, Bonno, Tuco  wrote:

>THANK YOU. this example [infra] of bpxbatch works very well in terms of
solving my original problem/issue.
>but  it's at the expense of making it much more complicated (imo) to
process long complicated commands that go across 3 or 4 lines of input.   w/
IKJEFT01, a continuation character at the end of each line ( + ) is
sufficient; w/ BPXBATCH, you've got to do the
>" // SET PARM01=  "  "//  SET PARM02=  "   etc etc etc 
routine, which, to me, is much more onerous than having the output in two
entities in sdsf.
>
>The Lord giveth, and Lord taketh away .
>
>Thanks to all who responded .
>
>

I have abandoned all of the UNIX batch procedures that IBM has come up with
and use DTLSPAWN from Dovetailed Technologies. It is much, much better in my
opinion. It is 100% gratis (free-as-in-beer).

http://dovetail.com/products/dtlspawn.html

--
John

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


Re: one IKJEFT01 job, 2 outputs in sdsf - why?

2009-03-10 Thread Kirk Wolf
Use AOPBATCH or DTLSPAWN and you can use a spool file with STDIN and normal
shell continuation syntax:

//STDIN DD *
  foo  arg1  \
arg2  \
ag3

With DTLSPAWN, you can also set shell variables via JCL parms:

// EXEC DTLSPAWN,ARG='a=my.dsn b=your.dsn'
//STDIN DD *
   echo variable a is &a and b is &b
   foo &a &b
//

With either AOPBATCH or DTLSPAWN, you can also put a shell script in an HFS
file rather than a STDIN spool file.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com


On Tue, Mar 10, 2009 at 7:28 AM, Bonno, Tuco  wrote:

> THANK YOU. this example [infra] of bpxbatch works very well in terms of
> solving my original problem/issue.
> but  it's at the expense of making it much more complicated (imo) to
> process long complicated commands that go across 3 or 4 lines of input.   w/
> IKJEFT01, a continuation character at the end of each line ( + ) is
> sufficient; w/ BPXBATCH, you've got to do the
> " // SET PARM01=  "  "//  SET PARM02=  "   etc etc etc
>  routine, which, to me, is much more onerous than having the output in two
> entities in sdsf.
>
> The Lord giveth, and Lord taketh away .
>
> Thanks to all who responded .
>
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
> Behalf Of Smith, Sean M
> Sent: Monday, 09 March, 2009 05:37 PM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: one IKJEFT01 job, 2 outputs in sdsf - why?
>
> I would like to second the question...I understand that the second
> execution is from the spawned task but is there a way to get the output to
> come back into the originating execution?
>
> All that being said, in your example you could use this instead:
>
> //STEPNAME EXEC PGM=BPXBATCH,PARM='SH ls -la /etc/ | cat'
> //STDOUT   DD SYSOUT=*
> //STDERR   DD SYSOUT=*
>
> Sean Smith
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
> Behalf Of Bonno, Tuco
> Sent: Monday, March 09, 2009 12:04 PM
> To: IBM-MAIN@bama.ua.edu
> Subject: one IKJEFT01 job, 2 outputs in sdsf - why?
>
> cross-posting to ibm-main, mvs-oe
>
> running z/os 1.9
>
>
>
> when I run this job:
>
>  //tucopgp1   job… msgclass=x …..
>
> //abc exec pgm=IKJEFT01
>
> //sysexec dd disp=shr, dsn=sys1.sbpxexec
>
> //systsprt dd sysout=*
>
> //systsin dd *
>
> OSHELL  ls –la  /etc/  | cat
>
>
>
> the output shows up as TWO entries in sdsf  each w/ the same jobname and
> jobid:
>
> (e.g.,)
>
> tucopgp1job10694…..   
>
> tucopgp1job10694   …..
>
>
>
> the 90-line item is the conventional jes2 stuff (log, msg-s, jcl, systsprt)
> ;
>
> the 85-line item contains the output proper of the omvs “cat” command.
>
>
>
> what should I add to my jcl to have all the ouput conflated into just one
> item in sdsf ?
>
> thank you.
>
>
>
>
>
> /s/ tuco bonno
>
> graduate, College of Conflict Management
>
> University of Southeast Asia
>
> "I partied on the Ho Chi Minh Trail -- tiến lên ! "
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: one IKJEFT01 job, 2 outputs in sdsf - why?

2009-03-10 Thread Bonno, Tuco
THANK YOU. this example [infra] of bpxbatch works very well in terms of solving 
my original problem/issue.
but  it's at the expense of making it much more complicated (imo) to process 
long complicated commands that go across 3 or 4 lines of input.   w/ IKJEFT01, 
a continuation character at the end of each line ( + ) is sufficient; w/ 
BPXBATCH, you've got to do the
" // SET PARM01=  "  "//  SET PARM02=  "   etc etc etc  routine, 
which, to me, is much more onerous than having the output in two entities in 
sdsf.

The Lord giveth, and Lord taketh away .

Thanks to all who responded .



-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Smith, Sean M
Sent: Monday, 09 March, 2009 05:37 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: one IKJEFT01 job, 2 outputs in sdsf - why?

I would like to second the question...I understand that the second execution is 
from the spawned task but is there a way to get the output to come back into 
the originating execution?

All that being said, in your example you could use this instead:

//STEPNAME EXEC PGM=BPXBATCH,PARM='SH ls -la /etc/ | cat' 
//STDOUT   DD SYSOUT=*
//STDERR   DD SYSOUT=*

Sean Smith

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Bonno, Tuco
Sent: Monday, March 09, 2009 12:04 PM
To: IBM-MAIN@bama.ua.edu
Subject: one IKJEFT01 job, 2 outputs in sdsf - why?

cross-posting to ibm-main, mvs-oe

running z/os 1.9

 

when I run this job:

  //tucopgp1   job… msgclass=x …..

//abc exec pgm=IKJEFT01

//sysexec dd disp=shr, dsn=sys1.sbpxexec

//systsprt dd sysout=*

//systsin dd *

OSHELL  ls –la  /etc/  | cat

 

the output shows up as TWO entries in sdsf  each w/ the same jobname and jobid:

(e.g.,)

tucopgp1job10694…..   

tucopgp1job10694   …..

 

the 90-line item is the conventional jes2 stuff (log, msg-s, jcl, systsprt) ;

the 85-line item contains the output proper of the omvs “cat” command.

 

what should I add to my jcl to have all the ouput conflated into just one item 
in sdsf ? 

thank you.

 

 

/s/ tuco bonno

graduate, College of Conflict Management

University of Southeast Asia

"I partied on the Ho Chi Minh Trail -- tiến lên ! "

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: one IKJEFT01 job, 2 outputs in sdsf - why?

2009-03-09 Thread Smith, Sean M
I would like to second the question...I understand that the second execution is 
from the spawned task but is there a way to get the output to come back into 
the originating execution?

All that being said, in your example you could use this instead:

//STEPNAME EXEC PGM=BPXBATCH,PARM='SH ls -la /etc/ | cat' 
//STDOUT   DD SYSOUT=*
//STDERR   DD SYSOUT=*

Sean Smith

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Bonno, Tuco
Sent: Monday, March 09, 2009 12:04 PM
To: IBM-MAIN@bama.ua.edu
Subject: one IKJEFT01 job, 2 outputs in sdsf - why?

cross-posting to ibm-main, mvs-oe

running z/os 1.9

 

when I run this job:

  //tucopgp1   job… msgclass=x …..

//abc exec pgm=IKJEFT01

//sysexec dd disp=shr, dsn=sys1.sbpxexec

//systsprt dd sysout=*

//systsin dd *

OSHELL  ls –la  /etc/  | cat

 

the output shows up as TWO entries in sdsf  each w/ the same jobname and jobid:

(e.g.,)

tucopgp1job10694…..   

tucopgp1job10694   …..

 

the 90-line item is the conventional jes2 stuff (log, msg-s, jcl, systsprt) ;

the 85-line item contains the output proper of the omvs “cat” command.

 

what should I add to my jcl to have all the ouput conflated into just one item 
in sdsf ? 

thank you.

 

 

/s/ tuco bonno

graduate, College of Conflict Management

University of Southeast Asia

"I partied on the Ho Chi Minh Trail -- tiến lên ! "

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


one IKJEFT01 job, 2 outputs in sdsf - why?

2009-03-09 Thread Bonno, Tuco
cross-posting to ibm-main, mvs-oe

running z/os 1.9

 

when I run this job:

  //tucopgp1   job… msgclass=x …..

//abc exec pgm=IKJEFT01

//sysexec dd disp=shr, dsn=sys1.sbpxexec

//systsprt dd sysout=*

//systsin dd *

OSHELL  ls –la  /etc/  | cat

 

the output shows up as TWO entries in sdsf  each w/ the same jobname and jobid:

(e.g.,)

tucopgp1job10694…..   

tucopgp1job10694   …..

 

the 90-line item is the conventional jes2 stuff (log, msg-s, jcl, systsprt) ;

the 85-line item contains the output proper of the omvs “cat” command.

 

what should I add to my jcl to have all the ouput conflated into just one item 
in sdsf ? 

thank you.

 

 

/s/ tuco bonno

graduate, College of Conflict Management

University of Southeast Asia

"I partied on the Ho Chi Minh Trail -- tiến lên ! "



Re: Question about IKJEFT01

2007-04-25 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 04/18/2007
   at 11:08 AM, Daniel <[EMAIL PROTECTED]> said:

>Something is wrong with the second syntax

Nothing is wrong with the syntax.

Is DSN in an authorized library? Is it in the authorized commands
table?

>Something is wrong with the second syntax , can you please show me
>the error ? (DH08 is a DB2 subsystem, the program is not DB2 , but i
>don't know how to code without it ...)

What are you trying to do? CALL 'SIC8.LOAD(TEST)'? Does your program
use TSO services?

-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see  
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: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Question about IKJEFT01

2007-04-18 Thread Hal Merritt
TEST is a TSO verb/function.  

Are you trying to invoke that function? Or are you trying to invoke a
program you wrote and stowed in SIC8.LOAD? If so, try a different
program name. Like DANTEST. 

HTH

  
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel
Sent: Wednesday, April 18, 2007 11:09 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Question about IKJEFT01

Dear all , 

what's  wrong with this , please ? 

//TEST   EXEC PGM=TEST,REGION=4M
//STEPLIB   DD   DISP=SHR,DSN=SIC8.LOAD
//FILE01DD   SYSOUT=*  

===> OK the program runs correctly

//TEST  EXEC PGM=IKJEFT01,DYNAMNBR=20
//STEPLIB  DSN=SIC8.LOAD,DISP=SHR   
//FILE01   DD SYSOUT=*  
//SYSTSPRT DD SYSOUT=*  
//SYSPRINT DD SYSOUT=*  
//SYSTSIN DD *  
 DSN SYSTEM(DH08)   
 RUN  PROGRAM(TEST) 
 END
//* 

> Abend S047 (not authorized)  Note : SIC8.LOAD is  apf 

Something is wrong with the second syntax , can you please show me the
error ?
(DH08 is a DB2 subsystem, the program is not DB2 , but i don't know how
to
code without it ...)

Thank you 
 
NOTICE: This electronic mail message and any files transmitted with it are 
intended exclusively
for the individual or entity to which it is addressed. The message, together 
with any attachment, may contain confidential and/or privileged
information. Any unauthorized review, use, printing, saving, copying, 
disclosure 
or distribution is strictly prohibited. If you have received this message in 
error, please immediately
advise the sender by reply email and delete all copies.

--
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: Question about IKJEFT01

2007-04-18 Thread Mike Bell

adding program TEST to TSO authpgm list will work for a sequence like
//TEST  EXEC PGM=IKJEFT01,DYNAMNBR=20
//STEPLIB  DSN=SIC8.LOAD,DISP=SHR
//FILE01   DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
CALL TEST
//*

But I do not know of any way to run APF authorized program under DSN.  Every
program that needed DB2 and APF had to be coded with CALL ATTACH. I have not
checked this in ages, but do not expect that it ever changed.

Mike

--
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: Question about IKJEFT01

2007-04-18 Thread Lizette Koehler
You probably need to add the program TEST to the TSO AuthPGM list in the TSO 
PARMLIB member in SYS1.PARMLIB.

Lizette

->Dear all , 
>
>what's  wrong with this , please ? 
>
>//TEST   EXEC PGM=TEST,REGION=4M
>//STEPLIB   DD   DISP=SHR,DSN=SIC8.LOAD
>//FILE01DD   SYSOUT=*  
>
>===> OK the program runs correctly
>
>//TEST  EXEC PGM=IKJEFT01,DYNAMNBR=20
>//STEPLIB  DSN=SIC8.LOAD,DISP=SHR   
>//FILE01   DD SYSOUT=*  
>//SYSTSPRT DD SYSOUT=*  
>//SYSPRINT DD SYSOUT=*  
>//SYSTSIN DD *  
> DSN SYSTEM(DH08)   
> RUN  PROGRAM(TEST) 
> END
>//* 
>
>> Abend S047 (not authorized)  Note : SIC8.LOAD is  apf 
>
>Something is wrong with the second syntax , can you please show me the error ?
>(DH08 is a DB2 subsystem, the program is not DB2 , but i don't know how to
>code without it ...)
>

--
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


Question about IKJEFT01

2007-04-18 Thread Daniel
Dear all , 

what's  wrong with this , please ? 

//TEST   EXEC PGM=TEST,REGION=4M
//STEPLIB   DD   DISP=SHR,DSN=SIC8.LOAD
//FILE01DD   SYSOUT=*  

===> OK the program runs correctly

//TEST  EXEC PGM=IKJEFT01,DYNAMNBR=20
//STEPLIB  DSN=SIC8.LOAD,DISP=SHR   
//FILE01   DD SYSOUT=*  
//SYSTSPRT DD SYSOUT=*  
//SYSPRINT DD SYSOUT=*  
//SYSTSIN DD *  
 DSN SYSTEM(DH08)   
 RUN  PROGRAM(TEST) 
 END
//* 

> Abend S047 (not authorized)  Note : SIC8.LOAD is  apf 

Something is wrong with the second syntax , can you please show me the error ?
(DH08 is a DB2 subsystem, the program is not DB2 , but i don't know how to
code without it ...)

Thank you 

--
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