Anything in column 72. For TSO the +|- doesn't have to be in 72.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of David Spiegel <00000468385049d1-dmarc-requ...@listserv.ua.edu> Sent: Sunday, May 18, 2025 7:51 AM To: IBM-MAIN@LISTSERV.UA.EDU <IBM-MAIN@LISTSERV.UA.EDU> Subject: Re: Run python with arguments JCL External Message: Use Caution Hi Suresh, X in Column 72 applies to Assembler, JCL (optionally) and "old" utility programs (e.g. IEHPROGM). For more modern utilities (e.g. supplied by DFSMS like DFSMSDss), the TSO convention is used (either '+' or *'-'*). Regards, David On 2025-05-18 07:13, suresh chacko wrote: > Hi Peter, > > Please try to use the in stream data in multi lines using 'X' as the > continuation character in 72 column. > > Regards, > Suresh Chacko > > > > On Sun, May 18, 2025, 12:19 PM Peter < > 000005e4a8a0a03d-dmarc-requ...@listserv.ua.edu> 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 tolists...@listserv.ua.edu with the message: INFO IBM-MAIN >> > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email tolists...@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