Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to continue a string in PARM parameter onto next line

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 205
Location: Bangalore

PostPosted: Fri Aug 10, 2007 3:12 pm    Post subject: How to continue a string in PARM parameter onto next line
Reply with quote

How to continue a string in PARM parameter onto next line?
I am getting errors like UNBALANCED QUOTED STRING -
Code:

//STEP1    EXEC PGM=TESTAJ,PARM='888888888888888888888888888888888888888
//  8888888888882222'       


I tried puttin continuation comma, but i am not getting it. I tried sending 100 bytes to program in this way. But i am not able to getting it done?

Thanks,
Ajay
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Aug 10, 2007 3:30 pm    Post subject:
Reply with quote

Have you tried to look up the answer?
Continuing the Parameter Field
Continuing Parameter Fields Enclosed in Apostrophes
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Aug 10, 2007 3:31 pm    Post subject:
Reply with quote

Ajay,

Refer the link -

http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/IEA1B605/16.6.1?SHELF=&DT=19980116185648&CASE=
Back to top
View user's profile Send private message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 205
Location: Bangalore

PostPosted: Fri Aug 10, 2007 4:23 pm    Post subject: Re: How to continue a string in PARM parameter onto next lin
Reply with quote

As per 2nd url, i tried :
1.extended the param string till column 71
2.coded // in columns 1 and 2 of the following statement.
3.and continued the parameter in column 16
4. put this string in paranthesis

Code:

----+----1----+----2----+----3----+----4----+----5----+----6----+----7---
********************************* Top of Data ***************************
//MDS9ABTT JOB (TEST),'GDG',MSGLEVEL=(1,1),                             J
//             CLASS=T,MSGCLASS=2,NOTIFY=MDS9AB                         0
//STEP1    EXEC PGM=TESTAJ6,PARM=('111111111111111111111111111111111111 0
//             11111111111111111111111111111111111111')                 0
//STEPLIB  DD  DSN=SCLM1.MDSDEV.LOAD,DISP=SHR                           
//         DD  DSN=SCLM1.PROD.LOAD,DISP=SHR                             
//SYSPRINT DD SYSOUT=*                                                  0
//SYSOUT   DD SYSOUT=*                                                  0
//SYSIN    DD DUMMY                                                     
******************************** Bottom of Data *************************


The output is:

Code:

SDSF OUTPUT DISPLAY MDS9ABTT JOB09273  DSID   102 LINE 0       COLUMNS 14- 93
COMMAND INPUT ===>                                                  SCROLL ===>    CSR
-+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9--
********************************* TOP OF DATA *********************************
PARM PARAMETER                                                                 
                                                                               
:  11111111111111111111111111111111111111111111111111111111111111111111111111 
******************************** BOTTOM OF DATA *******************************


Thanks everybody for your help

Ajay
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Aug 11, 2007 9:32 pm    Post subject:
Reply with quote

You can also try:
Code:
 //STEP1    EXEC PGM=TESTAJ6,
// PARM='1111111111111111111111111111111111111111111111111111111111111111111111'

if you're looking to PARM 70 bytes or so.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us