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

Parm parameter with more than 100 Byte


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

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Mon Apr 20, 2009 4:30 pm
Reply with quote

Is it possible to code more than 100 byte in PARM parameter and we can avoid JCL error?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Apr 20, 2009 4:36 pm
Reply with quote

Have you tried it and saw what happened ?
Back to top
View user's profile Send private message
himanshu7

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Mon Apr 20, 2009 4:38 pm
Reply with quote

Yes i have tried and seen the result but there are few topics in the forum describing that it is possible.so was just wondering and inquisitive.

Instead of opening the old thread thought of starting it all over again.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Apr 20, 2009 4:39 pm
Reply with quote

Usually the answer is passing the data via a dataset rather than PARM
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Apr 20, 2009 4:49 pm
Reply with quote

Quote:
Usually the answer is passing the data via a dataset rather than PARM


Yes exactly...

am wondering why PO has posted same again..
it is answered in previous post
www.ibmmainframes.com/viewtopic.php?t=39838

This is from prev post of the PO
Quote:
Hi
Quote:
JCL is giving an error, coz parm cannot go beyond 100 bytes.



In that case you can have it in SYSIN DD statement(or any other) and read it in your program.
Back to top
View user's profile Send private message
himanshu7

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Mon Apr 20, 2009 5:09 pm
Reply with quote

Hi Sambhaji,

The question is different!!! icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Apr 20, 2009 5:23 pm
Reply with quote

Quote:
Is it possible to code more than 100 byte in PARM parameter and we can avoid JCL error?


NO
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Apr 20, 2009 5:32 pm
Reply with quote

Sambhaji wrote:
This is from prev post of the PO
What is PO?
Back to top
View user's profile Send private message
himanshu7

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Mon Apr 20, 2009 5:52 pm
Reply with quote

Hi

the question is because of the prev post.

www.ibmmainframes.com/about9159.html
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Apr 20, 2009 6:09 pm
Reply with quote

The JCL Language Reference manual, link at the top of the page, states about the PARM= on the EXEC:
Quote:
Length: The length of the subparameters passed must not exceed 100
characters:

° Including any commas, which are passed to the processing program.
° Excluding any enclosing parentheses or apostrophes, which are not
passed.
Your quoted post is not using JCL PARM= to pass data so you can pretty much pass whatever you want. If you use JCL PARM= you are limited to 100 characters, period.
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 Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
Search our Forums:

Back to Top