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

What happens if PARM lenght exceeds 100??


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

Moderator Emeritus


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

PostPosted: Wed Aug 01, 2007 11:24 pm
Reply with quote

Hello,

If the program now needs more than 100 bytes of "parameter data" and previously it did not, how would the existing code use the new data without being modified?
Back to top
View user's profile Send private message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Thu Aug 02, 2007 7:06 am
Reply with quote

The scenario is we are sending the compiler options via parm to a cobol program. Previously we were sending which is not more than 100 bytes but as per the current situation we are supposed to send more than 100 bytes..


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

Moderator Emeritus


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

PostPosted: Thu Aug 02, 2007 7:15 am
Reply with quote

Hello,

Quote:
we are sending the compiler options via parm to a cobol program


If you explain what this does, it will help. What kind of process are you using that requires sending compiler options to a program?

The more you explain, the more likely it is that someone will be able to help.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Aug 02, 2007 7:22 am
Reply with quote

This keeps getting more and more interesting (amusing).
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Aug 02, 2007 10:09 pm
Reply with quote

ug123 wrote:
The scenario is we are sending the compiler options via parm to a cobol program. Previously we were sending which is not more than 100 bytes but as per the current situation we are supposed to send more than 100 bytes..


Thanks,
Ugandar


Have you tried using the abbreviated versions of the compiler options? Why are you sending the compiler options to a cobol program. Instead of telling us what you can not do why don't you explain what you are trying to do, then maybe could help you.
Back to top
View user's profile Send private message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Thu Aug 02, 2007 11:27 pm
Reply with quote

I too dont know the exact scenario.. but the problem is previously we were using older version of cobol so we had less data (compiler options which is used for cobol compiler)

Now the version is changed so we are using more compiler options which exceeds 100 bytes

the program is already running in production and i dont know what is the exact process that the program does

this is the actual case..

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

Global Moderator


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

PostPosted: Fri Aug 03, 2007 12:07 am
Reply with quote

You do not feed an application program compiler options, you feed it runtime options....They can be abreviated......
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Aug 03, 2007 12:39 am
Reply with quote

ug123 wrote:
I too dont know the exact scenario..

the program is already running in production and i dont know what is the exact process that the program does

this is the actual case..

Thanks,
Ugandar


If you don't know what is going on, that makes it very hard for any of us to help you.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Aug 03, 2007 12:39 am
Reply with quote

Hello,

If you are really providing compiler options to a cobol program, i'd suggest you look at which compiler options are being input and change the compiler default values so that not so many need be provided as "input". Why do many options require other than the default setting?

If you provide an example of the parameters you are sending in the PARM=, we may be able to better understand and offer suggestions.
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Fri Aug 03, 2007 8:34 pm
Reply with quote

I wonder - will the poster;

a) find out what the program does and let us know? then we can help

b) give the information asked for? then we can help

c) give yet another small, vaguely connected piece of information? then we can ..........guess, speculate and ask yet more questions!

Does anyone else wish they were a dentist then you could get paid for drawing teeth!

answers on a postcard please
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Aug 06, 2007 9:14 pm
Reply with quote

IQofaGerbil wrote:
I wonder - will the poster;

a) find out what the program does and let us know? then we can help

b) give the information asked for? then we can help

c) give yet another small, vaguely connected piece of information? then we can ..........guess, speculate and ask yet more questions!

Does anyone else wish they were a dentist then you could get paid for drawing teeth!

answers on a postcard please


I was hoping for a response, I would like to know what was going on. I don't think the OP knew. I think he either gave up or didn't want to share with us when he did find out what was going on.
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 Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts SORT ERROR PARAMETER VALUE EXCEEDS M... DFSORT/ICETOOL 12
No new posts Passing parm from JCL to Assembler, b... PL/I & Assembler 2
Search our Forums:

Back to Top