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 do we continue PARM value in next line if it exceeds 72

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: How do we continue PARM value in next line if it exceeds 72
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: 785
Location: Chennai, India

PostPosted: Tue Apr 01, 2008 3:53 pm    Post subject:
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: 37
Location: India

PostPosted: Tue Apr 01, 2008 3:53 pm    Post subject: Re: How do we continue PARM value in next line if it exceeds
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Job to wait and continue based on reply yugendran COBOL Programming 5 Wed Oct 05, 2016 1:46 pm
No new posts Not enough virtual memory is availabl... Vinay Pushpala IBM Tools 16 Tue Sep 13, 2016 4:37 pm
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts Copy a particular column based on PAR... brindhamohan DFSORT/ICETOOL 5 Wed May 11, 2016 8:49 am


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