MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Find out name of Db2 system name using Cobol or pl1 program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 316
Topics: 50
Location: Germany

PostPosted: Thu Dec 02, 2004 10:11 am    Post subject: Find out name of Db2 system name using Cobol or pl1 program Reply with quote

Hi,

using Pl1 or cobol programming language and db2: How is it possible to get the name of the db2 system?

(name like db2 system is named using spufi or location id for example using bind package ?)


regards,

bauer
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Dec 02, 2004 10:50 am    Post subject: Reply with quote

Try SET :variable name = CURRENT SERVER
Back to top
View user's profile Send private message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 316
Topics: 50
Location: Germany

PostPosted: Mon Dec 06, 2004 2:39 am    Post subject: Reply with quote

works.
thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group