Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 788
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
No new posts IPCONFIG SEGMENTATIONOFFLOAD parm in ... Keith Hays TSO/ISPF 0 Wed Jan 03, 2018 11:42 pm
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us