8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Guys,
I'm very new to Unix script. I need to add some logics into the existing script.
Read a record
1) if it's a header record then verify the file sequence no aginst the file sequence no in UDB control table.
2) if Step 1 is ok then CONNECT UDB otherwise stop or abend.
3) if... (0 Replies)
Discussion started by: Sunny TK Sun
0 Replies
2. Shell Programming and Scripting
I am rather new to korn shell scripting and attempting to write a Unix script that would detach, attach a range partition table in DB2 UDB LUW database. This would be a job scheduled in control M that reads in an input file with 5 parameters passed to it from the application. I don't have much... (1 Reply)
Discussion started by: tjhanso
1 Replies
3. AIX
Can anyone have any idea on IBM DB2 Product suite??? (4 Replies)
Discussion started by: dinesh1985
4 Replies
4. Programming
Hi ,
We are migrating our database from DB2 z/os to DB2 UDB on UNIX.
and cobol on mainframes to AIX cobol on UNIX.
We have some cobol Db2 programs that are accessing different Databases
how do we code such type of programs in AIX cobol.
Do we need to Establish connection for accessing... (0 Replies)
Discussion started by: nal.satish
0 Replies
5. UNIX and Linux Applications
Hi folks,
I am looking for a clue to install db2 in cygwin.....kindly help.;) (0 Replies)
Discussion started by: frozensmilz
0 Replies
6. AIX
We are going from UDB DPF 8.2 to 9.5 and changing HW from P4+ to P6 and moving from 5.2 to 5.3. Anyone out there gone through this upgrade? Any words of wisdom, warnings, or other gotchas you could pass on. TIA.
ART (0 Replies)
Discussion started by: ArtF
0 Replies
7. AIX
Hi All,
Am porting my application from AIX to Windows. As a part of this I need to port the Database in IBM DB2 UDB to SQL Server 2005. Is there any Guide/Doc/Article available on this? How to convert the stored procedures and physical data from DB2 to SQL Server 2005?
Thanks in Advance (0 Replies)
Discussion started by: mvictorvijayan
0 Replies
8. UNIX for Dummies Questions & Answers
Hi...
I m working on UNIX z/OS. Actually i have to pass the parameters from the JCL to java-db2 program thru PARM. I am able to pass the arguments but the problem occured is, it is throwing an exception while loading the db2 driver as 'Javaclassnotfound:com.ibm.db2.jcc.DB2Driver'... (0 Replies)
Discussion started by: Sujatha Gowda
0 Replies
pop3d::udb(n) Tcl POP3 Server Package pop3d::udb(n)
__________________________________________________________________________________________________________________________________________________
NAME
pop3d::udb - Simple user database for pop3d
SYNOPSIS
package require Tcl 8.2
package require pop3d::udb ?1.0.1?
::pop3d::udb::new ?dbName?
dbName option ?arg arg ...?
dbName destroy
dbName add user pwd storage
dbName remove user
dbName rename user newName
dbName lookup user
dbName exists user
dbName who
dbName save ?file?
dbName read file
_________________________________________________________________
DESCRIPTION
The package pop3d::udb provides simple in memory databases which can be used in conjunction with the pop3 server core provided by the pack-
age pop3d. The databases will use the names of users as keys and associates passwords and storage references with them.
Objects created by this package can be directly used in the authentication callback of pop3 servers following the same interface as servers
created by the package pop3d.
::pop3d::udb::new ?dbName?
This command creates a new database object with an associated global Tcl command whose name is dbName.
The command dbName may be used to invoke various operations on the database. It has the following general form:
dbName option ?arg arg ...?
Option and the args determine the exact behavior of the command.
The following commands are possible for database objects:
dbName destroy
Destroys the database object.
dbName add user pwd storage
Add a new user or changes the data of an existing user. Stores password and storage reference for the given user.
dbName remove user
Removes the specified user from the database.
dbName rename user newName
Changes the name of the specified user to newName.
dbName lookup user
Searches the database for the specified user and returns a two-element list containing the associated password and storage refer-
ence, in this order. Throws an error if the user could not be found. This is the interface as expected by the authentication call-
back of package pop3d.
dbName exists user
Returns true if the specified user is known to the database, else false.
dbName who
Returns a list of users known to the database.
dbName save ?file?
Saves the contents of the database into the given file. If the file is not specified the system will use the path last used in a
call to dbName read. The generated file can be read by the read method.
dbName read file
Reads the specified file and adds the contained user definitions to the database. As the file is actually source'd a safe inter-
preter is employed to safeguard against malicious code. This interpreter knows the add command for adding users and their associated
data to this database. This command has the same argument signature as the method add. The path of the file is remembered internally
so that it can be used in the next call of dbName save without an argument.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category pop3d of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
internet, network, pop3, protocol
CATEGORY
Networking
COPYRIGHT
Copyright (c) 2002 Andreas Kupries <andreas_kupries@users.sourceforge.net>
pop3d 1.0.1 pop3d::udb(n)