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
 

 

What happens if PARM lenght exceeds 100??
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
lavanya.purini

New User


Joined: 21 Jun 2007
Posts: 4
Location: hyderabad

PostPosted: Tue Jul 17, 2007 3:00 pm    Post subject: What happens if PARM lenght exceeds 100??
Reply with quote

Max length we can give thru PARM parameter is 100. What if we send PARM of lenght more than 100 chars? Will it give any JCL error or any abend??
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Jul 17, 2007 3:02 pm    Post subject: Re: What happens if PARAM lenght exceeds 100??
Reply with quote

did You try??
Back to top
View user's profile Send private message
lavanya.purini

New User


Joined: 21 Jun 2007
Posts: 4
Location: hyderabad

PostPosted: Tue Jul 17, 2007 3:08 pm    Post subject:
Reply with quote

No
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jul 17, 2007 3:23 pm    Post subject:
Reply with quote

Please try and let us know... icon_biggrin.gif

O.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Tue Jul 17, 2007 5:19 pm    Post subject:
Reply with quote

Or perhaps we should grind our work to a halt to save you one minute?
Back to top
View user's profile Send private message
lavanya.purini

New User


Joined: 21 Jun 2007
Posts: 4
Location: hyderabad

PostPosted: Thu Jul 19, 2007 3:21 pm    Post subject: Re: What happens if PARM lenght exceeds 100??
Reply with quote

I tried it and its giving jcl error as "EXCESSIVE PARAMETER LENGTH IN THE PARM FIELD"

thanks for ur replies...
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Jul 19, 2007 4:15 pm    Post subject:
Reply with quote

Thank you for the answer.
Back to top
View user's profile Send private message
digitalnirmal@hotmail

New User


Joined: 27 Dec 2005
Posts: 1

PostPosted: Fri Jul 20, 2007 11:34 am    Post subject:
Reply with quote

but isn't there a way around?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Jul 20, 2007 12:00 pm    Post subject:
Reply with quote

Nirmal,
Quote:
but isn't there a way around


Using PARM parmeter - NO
But we do have other methods for passing data to the program. Use these methods.
Back to top
View user's profile Send private message
Santoshdorge

New User


Joined: 27 Jun 2006
Posts: 48
Location: Pune

PostPosted: Fri Jul 20, 2007 2:15 pm    Post subject:
Reply with quote

Hi
You can use the flat file to pass the information to the program if it's length is more than 100 characters.

Thanks,
Santosh
Back to top
View user's profile Send private message
lavanya.purini

New User


Joined: 21 Jun 2007
Posts: 4
Location: hyderabad

PostPosted: Thu Jul 26, 2007 2:57 pm    Post subject: Re: What happens if PARM lenght exceeds 100??
Reply with quote

yes we can use flat file to send record of length more than 100 charecters,but thru PARM prameter its not possible.
Back to top
View user's profile Send private message
sundar28

New User


Joined: 30 Jul 2005
Posts: 12
Location: Mysore

PostPosted: Thu Jul 26, 2007 3:23 pm    Post subject: Re: What happens if PARM lenght exceeds 100??
Reply with quote

lavanya.purini wrote:
yes we can use flat file to send record of length more than 100 charecters,but thru PARM prameter its not possible.


Hi lavanya.purini,

It is possible without using PARM.

You can use SYSIN (in JCL) and ACCEPT to feed to a COBOL program.

This method will not pass the length of the parameter string as the first two bytes. So you have to pass either a fixed length string or length seperated as part of the parameter and interpret it in your program.

Regards
Sundar
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Jul 26, 2007 3:26 pm    Post subject:
Reply with quote

Sundar,

Quote:
You can use SYSIN (in JCL) and ACCEPT to feed to a COBOL program.


You are using dataset again.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Thu Jul 26, 2007 3:50 pm    Post subject:
Reply with quote

Hi,

I think, Sundar is talking about 'in-stream' data.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Jul 26, 2007 3:53 pm    Post subject:
Reply with quote

Anuj,

Quote:
I think, Sundar is talking about 'in-stream' data.


I do agree, you can pass in-stream data in the job, but not in the proc.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Jul 26, 2007 3:59 pm    Post subject: Re: What happens if PARM lenght exceeds 100??
Reply with quote

you can;t have a parm more than 100 chars..

Please go thru the following link for more information
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B650/16.8?DT=20040712170508#HDRXEXPARM

~Vamsi
Back to top
View user's profile Send private message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Wed Aug 01, 2007 8:27 am    Post subject: Re: What happens if PARM lenght exceeds 100??
Reply with quote

Hi all,

But for this i have to change the code also..

If the code runs in production and if i could not touch the code and in this case i can change only the jcl..

Any other way to send data more than 100 characters through jcl.. Because im facing this problem..

Can anyone please help me out..

Thanks,
Ugandar
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Wed Aug 01, 2007 10:24 am    Post subject:
Reply with quote

Ugandar,

Quote:
If the code runs in production and if i could not touch the code and in this case i can change only the jcl..

Why the program edit is not allowed? Any specific reasons for this.
Back to top
View user's profile Send private message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Wed Aug 01, 2007 10:43 pm    Post subject: Re: What happens if PARM lenght exceeds 100??
Reply with quote

Yes the reason is the code is already running in production.. i could not touch the code.. the only thing i can do is i can play with the jcl..

Thanks,
Ugandar
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Aug 01, 2007 11:22 pm    Post subject:
Reply with quote

Hello,

Quote:
Any other way to send data more than 100 characters through jcl.. Because im facing this problem..
Can anyone please help me out..


No, no one can help you out. If the program needs more than 100 bytes of "parameter" data, the program will have to be changed.

Quote:
the only thing i can do is i can play with the jcl..
This is total nonsense. Why in the world would it be ok to "play" with producton jcl and not the program. Both should follow a promotion process and not just be "thrown in". If the need is urgent, most organizations have an "emergency repair" promotion policy that allows immediate correction of a problem rather than the longer procedure. Once the emergency is resolved, the normal process is followed to somplete the repair.
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
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm
No new posts Copy a particular column based on PAR... brindhamohan DFSORT/ICETOOL 5 Wed May 11, 2016 8:49 am
No new posts Use of Parm in SORT Ambili S DFSORT/ICETOOL 2 Mon May 09, 2016 9:16 pm
No new posts symbolic parm - allocate dsn krrp JCL & VSAM 11 Sat Oct 31, 2015 8:27 pm
No new posts EXEC SORT,REGION=0M,PARM=ELAP venugopal.mft DFSORT/ICETOOL 4 Wed May 20, 2015 12:45 pm


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