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

DFSRRC00 parameter query in an IMS program


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gowrishankari_s

New User


Joined: 15 Feb 2007
Posts: 4
Location: hyderabad

PostPosted: Thu May 03, 2007 12:44 pm
Reply with quote

Hi all,

While using DFSRRC00 in an IMS program, can we also use the parameter to pass a normal variable data from the JCL , and read it thru "procedure division using link-parm"???

how to go about it if it can be done?

Thanks in advance
Back to top
View user's profile Send private message
rameshfoa

New User


Joined: 05 Apr 2007
Posts: 27
Location: chennai

PostPosted: Mon May 07, 2007 12:30 pm
Reply with quote

The PARM vlaues passed through DFSRRC00 will be assigned to the linkage variables defined in that program...u can't see the source code of this program...all the values passed are accordinglly assigned...if u pass any extra values ur prog will abend...
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed May 09, 2007 1:49 am
Reply with quote

rameshfoa wrote:
The PARM vlaues passed through DFSRRC00 will be assigned to the linkage variables defined in that program...u can't see the source code of this program...all the values passed are accordinglly assigned...if u pass any extra values ur prog will abend...


Correct: one starts IMS (DFSRRC00) and not the program executing the logic. DFSRRC00 invokes the 'logic program' like it were a submodule but without any knowledge about parameters to be passed to thad module. The solution depends on the type of program; with DC create a startup screen where you may enter the parameters which are sent in a message and can be intepreted by the 'startup' transaction. With DB you may use a database, sysin or any OS-file containing the needed information for your program.
Back to top
View user's profile Send private message
lovely.surendra
Currently Banned

New User


Joined: 17 Aug 2010
Posts: 5
Location: India, Pune

PostPosted: Tue Aug 09, 2011 9:06 am
Reply with quote

icon_biggrin.gif
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: Tue Aug 09, 2011 10:38 am
Reply with quote

Hello and welcome to the forum,

Is there some reason you replied to a topic that has been inactive for 4 years wth nothing other than a "smiley"?

You need to reply to currently active topics (or start a new one n the proper part of the forum) with something meaningful.

You've been a member for almost a year and should understand this concept from merely reading topics.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts RC query -Time column CA Products 3
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top