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
 
Parm parameter with more than 100 Byte

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Parm parameter with more than 100 Byte
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: 8619
Location: Back in jolly old England

PostPosted: Mon Apr 20, 2009 4:36 pm    Post subject:
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    Post subject:
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: 8619
Location: Back in jolly old England

PostPosted: Mon Apr 20, 2009 4:39 pm    Post subject:
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    Post subject:
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
http://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    Post subject:
Reply with quote

Hi Sambhaji,

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10374
Location: italy

PostPosted: Mon Apr 20, 2009 5:23 pm    Post subject: Reply to: Parm parameter with more than 100 Byte
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

Senior Member


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

PostPosted: Mon Apr 20, 2009 5:32 pm    Post subject:
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    Post subject:
Reply with quote

Hi

the question is because of the prev post.

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

Global Moderator


Joined: 06 Jun 2008
Posts: 8201
Location: East Dubuque, Illinois, USA

PostPosted: Mon Apr 20, 2009 6:09 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DUMMY When do I need add a DCB parameter Martylin JCL & VSAM 3 Fri Dec 08, 2017 7:20 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm

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