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
 

 

Passing data through PARM from JCL to COBOL program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests
View previous topic :: :: View next topic  
Author Message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Fri Jul 13, 2007 11:34 pm    Post subject: Passing data through PARM from JCL to COBOL program
Reply with quote

Hi,

I want to pass some data through parm to cobol program. Through parm i can send only 100 bytes, but i have a case where i have to send more than 100 bytes.

My program is already running in production so i couldnt touch the code. Even if we send through sysin i have to change the code.

Without changing the code, through jcl can anyone please tell me how to send the data.


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

William Thompson

Global Moderator


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

PostPosted: Fri Jul 13, 2007 11:44 pm    Post subject: Re: Passing data through PARM from JCL to COBOL program
Reply with quote

ug123 wrote:
I want to pass some data through parm to cobol program.
OK....
Quote:
Through parm i can send only 100 bytes, but i have a case where i have to send more than 100 bytes.
That too is do-able.....
Quote:
My program is already running in production so i couldnt touch the code. Even if we send through sysin i have to change the code.
Well, that makes it a bit harder....
Quote:
Without changing the code, through jcl can anyone please tell me how to send the data.
Now that is darn right stupid, if you didn't change the program, how would it know what to do with this new data? icon_rolleyes.gif
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: Sat Jul 14, 2007 12:11 am    Post subject:
Reply with quote

Hello,

Quote:
My program is already running in production so i couldnt touch the code. Even if we send through sysin i have to change the code.


Your organization has a process to deal with design oversights and/or enhancements - this is one. Use the process and make the required change(s).

Is there something i don't understand as to why this is in the clist & rexx forum?
Back to top
View user's profile Send private message
ug123
Warnings : 1

New User


Joined: 01 Mar 2007
Posts: 39
Location: Chennai

PostPosted: Tue Jul 17, 2007 11:20 pm    Post subject: Re: Passing data through PARM from JCL to COBOL program
Reply with quote

Actually this is JCL thing.

i should not touch the code but i can play with jcl. this is the requirement

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

Global Moderator


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

PostPosted: Tue Jul 17, 2007 11:30 pm    Post subject:
Reply with quote

100 bytes is the limit, either that is all you get or you have to change code somewhere......That is the requirement.
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 Jul 18, 2007 1:50 am    Post subject:
Reply with quote

Hello,

What nonsense is this?
Quote:
i should not touch the code but i can play with jcl


Many bad things happen when someone "plays with jcl". If there was any real configuraton management or change control, production jcl is just as protected as the program code.

If the code no longer works, it needs to be fixed icon_exclaim.gif
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


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

PostPosted: Wed Jul 18, 2007 10:31 pm    Post subject:
Reply with quote

i suppose you could edit the load module and make changes to it. Then you wouldn't even have to change the jcl or come to work the next day.
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 Jul 18, 2007 11:57 pm    Post subject:
Reply with quote

Yup, that's why we have superzap. . .
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Thu Jul 19, 2007 2:05 pm    Post subject: Re: Passing data through PARM from JCL to COBOL program
Reply with quote

Is it possible that the data being passed might be keys or dates upon which the program will act?

Therefore increasing/varying the number of these could be a valid thing to do.
However when that number increases to beyond the 100 byte limit then a problem like this will be encountered.

If the OP could maybe explain what the PARM data is being used for , maybe there is a suggestion out there which could help.
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: Thu Jul 19, 2007 6:09 pm    Post subject:
Reply with quote

Hello,

IMHO, as long as this
Quote:
i should not touch the code but i can play with jcl. this is the requirement
is "true", we will not be able to offer much. . . .
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 -> HomeWorks & Requests All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm


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