Hi Shmuel, You cannot count on makers of modern, ported tools to know about punch card images. When I first ran NetRexx with JCL the same thing happened to me as Peter now experienced. Fortunately, TRACE RESULTS took care of that immediately - but shell users are not so lucky. Always UNNUM the member, but even better, just read from a file that you know to work from the USS shell.
Best regards, René. > On 18 May 2025, at 13:42, Seymour J Metz <[email protected]> wrote: > > It's not a JCL issue, it's a margin issue. Most IBM compilers ignore columns > 73-80 in RECFM=FB,LRECL=80 source code. Does the Python port have a margin > option? > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > עַם יִשְׂרָאֵל חַי > נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר > > > > ________________________________________ > From: IBM Mainframe Discussion List <[email protected]> on behalf of > René Jansen <[email protected]> > Sent: Sunday, May 18, 2025 6:40 AM > To: [email protected] <[email protected]> > Subject: Re: Run python with arguments JCL > > > External Message: Use Caution > > > 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 >> <[email protected]> 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 >>>>> <[email protected]> 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, <[email protected]> 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 [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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
