On Fri, Mar 3, 2017 at 2:16 PM, Robert S. Hansel (RSH) <
[email protected]> wrote:

> Greetings all,
>
> I am trying to generate listings of job information from CA-7 with the LJOB
> command using the Batch Terminal Interface (BTI) program SASSBSTR (PROC
> CA7BTI). The job runs successfully, but the output in SYSPRINT simply shows
> the LJOB command I executed and not, as I'd hoped, the output from the LJOB
> command. I've searched the manuals and cannot figure out how to the get the
> output I desire and was hoping someone could be of assistance. TIA.
>

That seems to be what we do here, successfully. The example JCL for my shop
looks like:

//*************************************************************

//**  BATCH TERMINAL INTERFACE

//**  ENTER COMMAND NEEDED

//*************************************************************

//STEP2  EXEC  CA7BTI,ID=4

//SYSPRINT DD SYSOUT=O

//BTERM.SYSIN DD *

LJOB,JOB=PAPHVF1D,LIST=NODD

The ID= is the number of the CA-7 batch terminal. The output for me looks
like:

BSTR-00  *** INPUT TO BATCH TERMINAL ***

/LOGON ********           * GENERATED LOGON *
LJOB,JOB=PAPHVF1D,LIST=NODD
/LOGOFF                   * GENERATED LOGOFF *
BSTR-00  *** END OF INPUT ***
  17062  144831    /LOGON ********

CA-7.023 - r11.3(AM02) OPERATOR IS LOGGED ON TO TERMINAL BTERM4  AT
14:48:31 ON 17.062
  17062  144831    LJOB,JOB=PAPHVF1D,LIST=NODD

SLIA-02 JOB=PAPHVF1D NOT FOUND.
  17062  144831    /LOGOFF

CA-7.024 - r11.3(AM02) OPERATOR AT TERMINAL (BTERM4 ) LOGGED OFF AT
14:48:31 ON 17.062


> Regards, Bob
>
> Robert S. Hansel          *** Celebrating 30 years working with RACF ***
> Lead RACF Specialist
> RSH Consulting, Inc.
> 617-969-8211
> www.linkedin.com/in/roberthansel
> http://twitter.com/RSH_RACF
> www.rshconsulting.com
>


-- 
"Irrigation of the land with seawater desalinated by fusion power is
ancient. It's called 'rain'." -- Michael McClary, in alt.fusion

Maranatha! <><
John McKown

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

Reply via email to