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
 

 

DFSRRC00 parameter query in an IMS program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: DFSRRC00 parameter query in an IMS program
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed May 09, 2007 1:49 am    Post subject:
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    Post subject:
Reply with quote

icon_biggrin.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: Tue Aug 09, 2011 10:38 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Omegamon for DB2 query ashek15 DB2 0 Wed Feb 15, 2017 11:25 am
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm


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