Yes, that's documented. Anything up to 32KiB - 1. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
________________________________________ From: IBM Mainframe Discussion List on behalf of Grantham, Chip Sent: Friday, May 9, 2025 10:23 AM To: [email protected] Subject: Re: Limit to length of PARM= on a START command? External Message: Use Caution Interesting side note: Change values of variable to // SET P1=1ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ // SET P2=2ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ // SET P3=3ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ // SET P4=4ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ multiple line inputs //MYPARM DD *, // SYMBOLS=(JCLONLY) &P1 &P2 &P3 &P4 r1 points to this: 00006F20 80006F26 000000D4 F1C1C2C3 C4C5C6C7 C8C9D1D2 D3D4D5D6 D7D8D9E2 E3E4E5E6 *..?....M1ABCDEFGHIJKLMNOPQRSTUVW* 00006F40 E7E8E9C1 C2C3C4C5 C6C7C8C9 D1D2D3D4 D5D6D7D8 D9E2E3E4 E5E6E7E8 E9F2C1C2 *XYZABCDEFGHIJKLMNOPQRSTUVWXYZ2AB* 00006F60 C3C4C5C6 C7C8C9D1 D2D3D4D5 D6D7D8D9 E2E3E4E5 E6E7E8E9 C1C2C3C4 C5C6C7C8 *CDEFGHIJKLMNOPQRSTUVWXYZABCDEFGH* 00006F80 C9D1D2D3 D4D5D6D7 D8D9E2E3 E4E5E6E7 E8E9F3C1 C2C3C4C5 C6C7C8C9 D1D2D3D4 *IJKLMNOPQRSTUVWXYZ3ABCDEFGHIJKLM* 00006FA0 D5D6D7D8 D9E2E3E4 E5E6E7E8 E9C1C2C3 C4C5C6C7 C8C9D1D2 D3D4D5D6 D7D8D9E2 *NOPQRSTUVWXYZABCDEFGHIJKLMNOPQRS* 00006FC0 E3E4E5E6 E7E8E9F4 C1C2C3C4 C5C6C7C8 C9D1D2D3 D4D5D6D7 D8D9E2E3 E4E5E6E7 *TUVWXYZ4ABCDEFGHIJKLMNOPQRSTUVWX* 00006FE0 E8E9C1C2 C3C4C5C6 C7C8C9D1 D2D3D4D5 D6D7D8D9 E2E3E4E5 E6E7E8E9 00000000 *YZABCDEFGHIJKLMNOPQRSTUVWXYZ....* 00007000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 *................................* -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Seymour J Metz Sent: Friday, May 9, 2025 9:18 AM To: [email protected] Subject: Re: Limit to length of PARM= on a START command? Why would you need changes for STC? The only thing I can think of is for AC91) supporting longer than 100. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List on behalf of Grantham, Chip Sent: Friday, May 9, 2025 10:10 AM To: [email protected] Subject: Re: Limit to length of PARM= on a START command? External Message: Use Caution Just a QND to see if this would work for you. It will need some adjustment for STC, but it might be doable. Enjoy // EXPORT SYMLIST=(P1,P2,P3,P4) // SET P1=A // SET P2=B // SET P3=C // SET P4=D //STEP010 EXEC ASMACL //STEP010.SYSIN DD * PARMTEST CSECT STM 14,12,0(13) L 1,0(1) LH 2,0(1) LM 3,4,2(1) DC X'0000' //STEP020.SYSIN DD * ENTRY PARMTEST NAME PARMTEST(R) //STEP020 EXEC PGM=PARMTEST, // PARMDD=MYPARM //STEPLIB DD DISP=SHR,DSN=&&LOAD //SYSUDUMP DD SYSOUT=* //MYPARM DD *, // SYMBOLS=(JCLONLY) &P1,&P2,&P3,&P4 // THE DUMP SHOWS 0-3 00000064 80006FF6 00000007 C16BC26B 4-7 C36BC400 009FB040 009BFFC8 00FC0280 -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Binyamin Dissen Sent: Friday, May 9, 2025 8:35 AM To: [email protected] Subject: Re: Limit to length of PARM= on a START command? I want to be able to dynamically change the parameters. Changed the PROC to PARM='&P1&P2&P3' (default to null) Then I cam specify P1, P2 and P3 on the START command and multiple JCL statements are generated. On Thu, 8 May 2025 19:01:43 +0200 Massimo Biancucci <[email protected]> wrote: :>Hi, :> :>you can use PARMDD syntax: :> :>//ST010 EXEC PGM=MYPGM,PARMDD=PARMIN :>... :>//PARMIN DD * :>SOMETHING UP TO 80 :>OTHER UP TO 80 :>.... :>so on :>/* :> :>JCL should concatenate N strings of xx characters, one for each PARMIN row. :> :>Keep attention ! It removes trailing spaces from rows. :> :>Best regards. :>Max :> :> :> :> :>Il giorno gio 8 mag 2025 alle ore 18:43 Binyamin Dissen < :>[email protected]> ha scritto: :> :>> How? :>> :>> On Thu, 8 May 2025 11:31:56 -0500 Steve Beaver :>> <[email protected]> wrote: :>> :>> :>You can do a continuation :>> :> :>> :> :>> :> :>> :> :>> :>-----Original Message----- :>> :>From: IBM Mainframe Discussion List [mailto:[email protected]] On :>> :>Behalf Of Binyamin Dissen :>> :>Sent: Thursday, May 8, 2025 11:24 AM :>> :>To: [email protected] :>> :>Subject: Limit to length of PARM= on a START command? :>> :> :>> :>Interesting. There is a limit to the length of PARM= on a START :>> statement. :>> :>The :>> :>maximum length appears to be related to the JCL statement :>> :> :>> :>// PARM= :>> :> :>> :>where the parm has to fit up to column 71 (71-8)=63). :>> :> :>> :>Didn't find this documented. :>> :>> -- :>> Binyamin Dissen <[email protected]> :>> http://secure-web.cisco.com/1QP4kxNMJK5tyoLg11AnQAoDl1aSOXns51wI0v-l3CljW54HUPQWjMCtvU691FmlS7dxsiM8nhl1gYBBL3i3N3wrZgFYK7gsOYCuQWBNiJFh3m5GguDQC7qxdUTM9y7MkPiv9OUEaA0FCQ-_Hg6aK07L4qeRQeUzoqmmNwjIigo1ihO8_N_fS0n_L_lrXEvV20qhRvn-7dHiuoRfR1ne-vsrNXf6w3ih3wQIn4PbPVKnlRIQulFBZsus-pdDdvME70QgenDcGRES8lGMgIFmlfZC9GNbM7pbE4ONBghLFGtShPqzIaeQYmuOUCyjUOi8stnAffmjOzMPi1AHCfHP14_m3w8pmT04CPa-uTg1lT3ImiHOANA9N1WtEPnahPLOz54FdMRB6frorwC__so4g2lkXI_IYYcJIZ1-y_vDQAsQ/http%3A%2F%2Fwww.dissensoftware.com%2F :>> :>> Director, Dissen Software, Bar & Grill - Israel :>> :>> ---------------------------------------------------------------------- :>> 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 -- Binyamin Dissen <[email protected]> http://secure-web.cisco.com/1QP4kxNMJK5tyoLg11AnQAoDl1aSOXns51wI0v-l3CljW54HUPQWjMCtvU691FmlS7dxsiM8nhl1gYBBL3i3N3wrZgFYK7gsOYCuQWBNiJFh3m5GguDQC7qxdUTM9y7MkPiv9OUEaA0FCQ-_Hg6aK07L4qeRQeUzoqmmNwjIigo1ihO8_N_fS0n_L_lrXEvV20qhRvn-7dHiuoRfR1ne-vsrNXf6w3ih3wQIn4PbPVKnlRIQulFBZsus-pdDdvME70QgenDcGRES8lGMgIFmlfZC9GNbM7pbE4ONBghLFGtShPqzIaeQYmuOUCyjUOi8stnAffmjOzMPi1AHCfHP14_m3w8pmT04CPa-uTg1lT3ImiHOANA9N1WtEPnahPLOz54FdMRB6frorwC__so4g2lkXI_IYYcJIZ1-y_vDQAsQ/http%3A%2F%2Fwww.dissensoftware.com%2F Director, Dissen Software, Bar & Grill - Israel ---------------------------------------------------------------------- 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
