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
 

 

how to set the dbname run time

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
View previous topic :: :: View next topic  
Author Message
nirmal.poikaikumaran

New User


Joined: 29 Nov 2005
Posts: 66
Location: Bangalore

PostPosted: Wed Apr 09, 2008 2:50 pm    Post subject: how to set the dbname run time
Reply with quote

Hi,

My application has many DBnames like

1)forecast
2)inventry
3)distribu

but all the 3 db access the same MAPS/DIALOGS .... its set using a CList command

CLIST FORECAST.... while doing this ... I directly get into Common Map with this db enabled.

Like wise it happens for the other 2 tooo.


Query,

Is there any way that I can switch the DBNAME ... runtime?

for instance

1If i have enabled Forecast dbname and in one of the option I want to go to Inventory Database.... how can it be achieved?

Plz help

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

tgortner
Warnings : 1

New User


Joined: 02 Jun 2006
Posts: 4

PostPosted: Thu Apr 10, 2008 12:49 am    Post subject:
Reply with quote

I hope I understand your question right. You would use DCUF SET DBNAME XXXXX at the CV prompt before executing the dialog. It will then be using that DB.
Back to top
View user's profile Send private message
nirmal.poikaikumaran

New User


Joined: 29 Nov 2005
Posts: 66
Location: Bangalore

PostPosted: Thu Apr 10, 2008 9:27 am    Post subject:
Reply with quote

Hey

The query is to do it in run time.... like i want to enable it via selecting some menu... not thru the national task code

DCUF SET DBNAME XXXXX... may be it shud be called via some kick offs......
Back to top
View user's profile Send private message
tgortner
Warnings : 1

New User


Joined: 02 Jun 2006
Posts: 4

PostPosted: Mon Apr 14, 2008 7:27 pm    Post subject:
Reply with quote

You can issue a DCUF command from inside a dialog by linking to RHDCUF00. See manual "Callable Services." You could then invoke a different DB by menu option.
Back to top
View user's profile Send private message
nirmal.poikaikumaran

New User


Joined: 29 Nov 2005
Posts: 66
Location: Bangalore

PostPosted: Wed Apr 23, 2008 2:29 pm    Post subject:
Reply with quote

Tim,

Thanks for the help. may i know which manual you are referrign to?

my code says

LINK PROG 'RHDCUF00' USING (RHDCUF00-INREC,
RHDCUF00-OUTREC).


Is this what you are referring? Please let me know how this works
Back to top
View user's profile Send private message
tgortner
Warnings : 1

New User


Joined: 02 Jun 2006
Posts: 4

PostPosted: Wed Apr 23, 2008 7:43 pm    Post subject:
Reply with quote

The manual I am referring to is called "Callable Services." Chapter 4 is titled "Invoking DCMT and DCUF Commands from Programs." Your code looks correct. I will attempt to attach the manual to this post.

Attachment Removed. The distriution of copyrighted material is both against the policy of this forum and is illegal.
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 -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 5 Sat May 06, 2017 12:59 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts Application not run by time HH:MM tri... jzhardy IBM Tools 1 Sun Apr 09, 2017 3:22 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


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