Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 5 Sat May 06, 2017 12:59 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us