TSO/E Programming Services claims that it is ignored.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Barry Merrill <[email protected]>
Sent: Thursday, March 28, 2019 10:57 AM
To: [email protected]
Subject: Re: part of TSO commands are no RESPONSE from PGM=IKJEFT01

Only TSO commands that internally use GETLINE/PUTLINE instead of TGET/TPUT 
macros can be executed under TSO in batch.  You can tell by trying it, and if 
it works, then the command used GETLINE/PUTLINE.  A command using TGET/TPUT 
causes the job to act likeit was not executed or to terminate at that point 
without executing
further commands in the input stream.

Barry Merrill

Herbert W “Barry” Merrill, PHD
President-Programmer
Merrill Consultants
MXG Software
10717 Cromwell Drive
Dallas, TX 75229
http://secure-web.cisco.com/1ssa1g5Qgl4X9zinV_EdOhpDLJUuei1GfgjAu-gvr50Y_6lGK8Gr9H1-U8fGJ8UDwgpaLwNRMRbsgMnxCV6u_n9JmQg2KJqoHRgYt-LGAAHI3pI0_Ji1lYRwMfz_d1DHzQtzm1ld7y2-5ng5OFg7_-kX4uVIR4cW5c3Xzekp-DkAE8qJzeeBCjOfEB-SLvbAD8zcWvDhzoor7pFnBlDKOopY5DfsKXhZpNsQRrOjCciOgpY7V8cTswaydu_jprYfLDAhGOI7axteg5O67mejoOlhizh1s0x1SAXduo6JGx3ZPP4AqtJK1_H2RJ2gAZssyv6JIgWSkuo_eUuxLVugY6A0bUolmijYYbgo-ms8J03o0ZRnhgx4HsIVmxeh2TD0MY_gf_k4rnNZRufts2vR1zSnZ3p8QjUq77O0h4BONOPYjMwCNVFgaUQ_gwaMvXEmC/http%3A%2F%2Fwww.mxg.com
214 351 1966

[email protected] for business questions
[email protected] for technical questions
[email protected]



-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Jason Cai
Sent: Wednesday, March 27, 2019 10:08 PM
To: [email protected]
Subject: Re: part of TSO commands are no RESPONSE from PGM=IKJEFT01

Hi

The part of output  is correct. the others of output is empty.

Whether there are a lot of XQUERY in one job?



Best Regards,
Jason Cai


From: Hobart Spitz
Date: 2019-03-25 21:14
To: IBM-MAIN
Subject: Re: part of TSO commands are no RESPONSE from PGM=IKJEFT01 I think you 
need to give us some more information.  I'm not familiar with XQUERY and it's 
quirks.  What kind of response are you expecting?  Is the output dataset empty?

That said, it's been so long since I've run anything in batch without REXX I 
don't recall if vanilla TSO reports non-zero return codes.

You may want to find/tweak a mainframe version of REXXTRY, and add PARM=REXXTRY 
to your EXEC.  Be sure to have a SYSEXEC DD for the library where you put 
REXXTRY.  In addition to return code reporting REXXTRY let's you use most REXX 
features.  E.g., you can set a variable to the DSN and/or VOL if the change 
between runs. Put your commands in quotation marks, and follow REXX syntax.

It looks like you might benefit from writing a batch REXX EXEC to do that work.

See these documents for more information.

  e741ba69-356d-4ffc-84dd-91ae1e883fb1.pdf
<https://secure-web.cisco.com/17qBgbcp4WRLvDkiyOAkN2hDt90lRgy-4NvaeOQEQmCG8cQFWZCx3JvmG6K1faV1Y0Ua8NX82Wm1NZP0s4BmjDw735rdoJ22S2kA9XUGug-RuIoUsZsDZjapDpIZi9rYNTfFh-i4xh4vKJRZalk-PstyZS5HiqnEyRsdWLLf3bETMGEy8cCJ5DviAGuxRKlm7huAhSXKRSaIGq6YmhMbOM1JKaexpf4JZq_b4qGQJFV67eHVdYVDVpqKa-rIGbRS6YqmOgSZ0gprDRnCsQZR0qlvf67obRVO1CcfR2PSJwroFP9lJUv1Vvnho8Jgz31uFyYH2VyvrejJYkkeqU4hNIe1c_9yIOAHLxppjhc2Z_VLHc5WMlWz8kbi3MA44hYSH6dpg0q0bShsuvFWmbk8rmQf5W7CXW1etIWpKZnhtQLCfOgWfMUlfTuKwqIbPD9Il/https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1A3ZvcyAgh3reW0x0bGvSnkeB_7FXZNgX%2Fview%3Fusp%3Ddrivesdk>

  Modernizing z/OS Batch Processing
<https://secure-web.cisco.com/1_xkuCkqsD7tcypYzIE8SQvwoqP5ghdGpqS0AnDAybYr9WHxDg9Um6IRkEqBqnno2PdmwD31_yfx8Got-udpwnQeuwDs0KIBMxKuF25mjdGnz8Raul9VGB5J8gNxSWLBmx-BhY2UEycooTzDSoh4_g4fGiLJ-gR9515QPLIoMle4YPXuvpf_3sseD8n3HfupqZlIYY251JazNhlJ1vLKhkb9Z0buZF2CRjLhNCqMoimOSyNO7WyfiUOpLBWdqRafYEJvOv0qUAahf_RwVUr8jUjOTsQ-TBBoHl_JkT3GVTR93wl_4Jr9smHqsLE4pIAqS8sRWQ8XgZ1n-VFSqxPQ1SDIKwnj2y9NnCvjx3BfpewCKFbX5jL4pn7FnmK-H2IOVz0x4Ro5Qc66bU9T98f6AfZAlOB2WlyDjeEOE6Jkq0_fyAFtftwQbI7NMDtquG6My/https%3A%2F%2Fdocs.google.com%2Fdocument%2Fd%2F1vwE-dAyxHg-PEXAZl1Odbf6-QWwA22a1GoSPlkJL5rI%2Fedit%3Fusp%3Ddrivesdk>






On Sun, 24 Mar 2019, 8:43 pm Jason Cai, <[email protected]> wrote:

>
> Hi all
>
>   We issue a lot of TSO  commands ( XQUERY NP2XRE
> DATASET('XXXXXXX.TST')
> DISP(MOD) VOLUME(BJ2817) DETAIL )
>
> by PGM=IKJEFT01 .The sample is blow:
>
> //S1        EXEC PGM=IKJEFT01,REGION=0M
> //SYSTSPRT DD SYSOUT=*
> //SYSPRINT DD SYSOUT=*
> //SYSTSIN  DD *
>  XQUERY NP2XRE DATASET('XXXXXXX.TST') DISP(MOD) VOLUME(BJ2817) DETAIL
> XQUERY NP2XRE DATASET('xxxxxxx.TST') DISP(MOD) VOLUME(BJ2897) DETAIL
> XQUERY NP2XRF DATASET('xxxxxxx.TST') DISP(MOD) VOLUME(BJ2917) DETAIL
>
>
> We found there are just  part of this commands responsed.
>
>
>
> Any thoughts/comments/suggestions would be greatly appreciated
>
>
>
>
>
> Best Regards,
> Jason Cai
>
>
> ----------------------------------------------------------------------
> 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


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

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

Reply via email to