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

How do we continue PARM value in next line if it exceeds 72


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dinakarpotu

New User


Joined: 09 Jun 2007
Posts: 4
Location: Chennai

PostPosted: Tue Apr 01, 2008 3:21 pm
Reply with quote

How do we continue PARM value in next line if it exceeds 72 cols.

//PARM='TWTRSD00.DXXX.OFFDRSEC.TRTYTR.IMGCOPY(0),TWTRSD00.DXXX.TEMP.TRTYTR'
I am passing these two values as parms which is exceeding 72 cols.How can i pass these parm parameters in JCL.

I am getting following error while trying to submit job.

P1//PARM='TWTRSD00.DXXX.OFFDRSEC.TRTYTR.IMGCOPY(0),TWTRSD00.DXXX.TEM
**ERROR - DSS6140E - EXPECTED CONTINUATION NOT RECEIVED
**ERROR - DSS2070E - ERROR IN STATEMENT NAME
**ERROR - DSS6140E - EXPECTED CONTINUATION NOT RECEIVED
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Tue Apr 01, 2008 3:53 pm
Reply with quote

72nd column must be empty.
And continue in next line...

Code:
//PARM='TWTRSD00.DXXX.OFFDRSEC.TRTYTR.IMGCOPY(0),TWTRSD00.DXXX.
//     TEMP.TRTYTR'
Back to top
View user's profile Send private message
kovur

New User


Joined: 15 Nov 2007
Posts: 36
Location: India

PostPosted: Tue Apr 01, 2008 3:53 pm
Reply with quote

dinakarpotu wrote:

//PARM='TWTRSD00.DXXX.OFFDRSEC.TRTYTR.IMGCOPY(0),TWTRSD00.DXXX.TEMP.TRTYTR'


Write it like the one below.
Code:

//PARM=('TWTRSD00.DXXX.OFFDRSEC.TRTYTR.IMGCOPY(0)',
//                       'TWTRSD00.DXXX.TEMP.TRTYTR')



Hope this helps..
Back to top
View user's profile Send private message
the_gautam

Active User


Joined: 05 Jun 2005
Posts: 165
Location: Bangalore

PostPosted: Tue Apr 01, 2008 4:13 pm
Reply with quote

we can continue the value in the next line by giving a continuation at the 72nd position and starting the continued data from the 16th position.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Apr 01, 2008 6:41 pm
Reply with quote

Another handy method is to use symbolic variables for PARM fields that are allowed to exceed column 72 after substitution.
Code:
//*                                             
// SET P1=AAAAAAAAAAAAAAAAAAAA                 
// SET P2=BBBBBBBBBBBBBBBBBBBBBBBBBBBB         
// SET P3=CCCCCCCCCCCCCCCCCCCCC                 
//*                                             
//ALLOC1  EXEC PGM=IEFBR14,PARM='&P1 &P2 &P3'   
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top