Hi Rene,
I did not say anything about instream data. You are correct that instream data might be affected by line numbers. For JCL, it is true and has been for at least 50 years. Since ISPF Edit does not display line numbers in Numbered Mode, it would be wise to always issue "num;unnum" to ensure they aren't on and Browse your Job before submission (In Browse, all 80  columns are shown regardless of NUM ON/OFF.)

Regards,
David

On 2025-05-18 06:40, René Jansen wrote:
Hi David,

You might want to check that, specially for instream sysin data for new tools 
that never heard about JCL ;-)

René.

On 18 May 2025, at 12:23, David Spiegel 
<00000468385049d1-dmarc-requ...@listserv.ua.edu> wrote:

Hi Rene,
If the line numbers are to the right of column 72, they are ignored.

Regards,
David

On 2025-05-18 06:16, René Jansen wrote:
Check if you have line numbers in the JCL

René.

On 18 May 2025, at 10:23, Peter 
<000005e4a8a0a03d-dmarc-requ...@listserv.ua.edu> wrote:
When i run this same command from OMVS or putty it works. Not sure how to
invoke using JCL.

On Sun, 18 May 2025, 12:18 Peter, <dbajava...@gmail.com> wrote:

Hello

I am trying to run a python code using JCL by passing an arguments but it
is failing.

Is there any alternative or any corrections have to be made?

//STEP1 EXEC PGM=BPXBATCH

//STDERR DD SYSOUT=*

//STDOUT DD SYSOUT=*

//STDPARM DD *

SH python3 /usr/local/pythonScripts/restartTask.py dbtask



error

usage: restartTask [-h] [-d] task

restartTask: error: unrecognized arguments: 00070001


Peter

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

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

Reply via email to