IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to continue a string in PARM parameter onto next line


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 206
Location: Bangalore

PostPosted: Fri Aug 10, 2007 3:12 pm
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: 3156
Location: Tucson AZ

PostPosted: Fri Aug 10, 2007 3:30 pm
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: 1436
Location: Bangalore,India

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

Ajay,

Refer the link -

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: 206
Location: Bangalore

PostPosted: Fri Aug 10, 2007 4:23 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top