10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am trying to compile the datastage jobs using the Execute Command stage in datastage 11 or any Routines if possible. My datastage is on Unix machine.
So, How can I Compile a datastage job in UNIX from command line or any Routines.
Please help me in doing so.
Thank you. (1 Reply)
Discussion started by: elena jessi
1 Replies
2. HP-UX
Hi All,
I am new to datastage just managing to modify packages with my prior knowledge in ETL tools like DTS and SSIS.
Now have ran in to a connectivity issue between datastage and unidata DB.
Software environment-
Datastage 7.5.2 running on windows server accessing unidata 7 on HP UX machine.... (1 Reply)
Discussion started by: roopeshvp
1 Replies
3. Shell Programming and Scripting
The script distributes files from an AIX server using iether ftp or sftp depending on the constraint of the destination server. I am interested in having the error checking routine critically reviewed. I will only include an excerpt from the script concerning error trapping: (where $FTP_OUT is the... (7 Replies)
Discussion started by: peleton
7 Replies
4. Shell Programming and Scripting
Hi All,
I am using ETL tool Datastage and is installed on Linux environment. Few environment variables are set in datastage. Now my requirement is to use those environment variables in a unix script.
Is there any option I can do it?
Sugeestions from people working on datastage and linux... (1 Reply)
Discussion started by: bghosh
1 Replies
5. Shell Programming and Scripting
We have a requirement as follows.
We have created a datastage job that will be doing the select operation from table (select query from a table).
The datastage job is being invoked by a unix shell script(ksh).
We are passing the "table name (STUD_DETAILS)" and a "where clause condition... (4 Replies)
Discussion started by: kmanivan82
4 Replies
6. Shell Programming and Scripting
Hello guys,
In my script, I need to add two other routines where I Manipulate the files with a 'x'
The routine looks at CLI named qip-getobjectprof that references a input file named hosts_list.txt
Then I use the CLI named qip-setobject to set the orignal name with an 'x'and move the... (3 Replies)
Discussion started by: richsark
3 Replies
7. UNIX and Linux Applications
hi,does anybody familiar with datastage tx.?
added your particular question:
I have to modify a map to drop a timestamp from the filename variable and pass that value down to the transform/validation maps.
thanks,,
Edit/Delete Message (1 Reply)
Discussion started by: sonja
1 Replies
8. UNIX for Advanced & Expert Users
hello,
i have a windows server with datastage.
In another machine, unix machine, i have a shell script that need to invoke the datastage dsjob.
Can anyone help me? (0 Replies)
Discussion started by: anaconga
0 Replies
9. Programming
This is a quick question: is '%b' a valid conversion to use in any of the 'printf' routines for binary data? I did some searching through old posts in this site and found some that said it is, though internet searching outside this site, as well as books I've looked at (both recent and not so... (1 Reply)
Discussion started by: cleopard
1 Replies
10. Programming
can i know what is the differnece between using librery function and system calls for performing any of the operation like read, write and other operations (1 Reply)
Discussion started by: MKSRaja
1 Replies
socklog-conf(8) System Manager's Manual socklog-conf(8)
NAME
socklog-conf - sets up a socklog(8) service.
SYNOPSIS
socklog-conf unix|inet|klog|ucspi-tcp acct logacct
socklog-conf notify acct grp
DESCRIPTION
socklog-conf creates /etc/sv if necessary and a subdirectory that runs the unix, inet, ucspi-tcp or notify service (see below for each ser-
vice). Except for the notify service, socklog-conf also creates a log directory with subdirectories.
acct, logacct and grp must not contain any special characters.
UNIX SERVICE
socklog-conf unix acct logacct
Running socklog-conf with the 1st argument unix, socklog-conf creates the service directory /etc/sv/socklog-unix and the log directory
/var/log/socklog.
socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to listen for syslog messages on /dev/log.
It also creates automatically rotated log directories in /var/log/socklog. The logs are owned by logacct. The corresponding svlogd(8)
process runs under the uid and gid of logacct.
You can add the service to system-wide service supervision through the update-service(8) program:
update-service --add /etc/sv/socklog-unix
INET SERVICE
socklog-conf inet acct logacct
Running socklog-conf with the 1st argument inet, socklog-conf creates the service directory /etc/sv/socklog-inet and the log directory
/var/log/socklog-inet.
socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to listen for syslog messages on the UDP socket 0.0.0.0:514.
It also creates automatically rotated log directories in /var/log/socklog-inet. The logs are owned by logacct. The corresponding
svlogd(8) process runs under the uid and gid of logacct.
You can add the service to system-wide service supervision through the update-service(8) program:
update-service --add /etc/sv/socklog-inet
KLOG SERVICE
socklog-conf klog acct logacct
Running socklog-conf with the 1st argument klog, socklog-conf creates the service directory /etc/sv/socklog-klog and the log directory
/var/log/socklog-klog.
socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to read kernel messages from /proc/kmsg on Linux, or
/dev/socklog-klog on BSD.
It also creates automatically rotated log directories in /var/log/socklog-klog. The logs are owned by logacct. The corresponding
svlogd(8) process runs under the uid and gid of logacct.
You can add the service to system-wide service supervision through the update-service(8) program:
update-service --add /etc/sv/socklog-klog
UCSPI-TCP SERVICE
socklog-conf ucspi-tcp acct logacct
Running socklog-conf with the 1st argument ucspi-tcp, socklog-conf creates the service directory /etc/sv/socklog-ucspi-tcp and the log
directory /var/log/socklog-ucspi-tcp.
socklog-conf arranges for tcpsvd(1) to run socklog(8) under the uid and gid of acct and to listen on the TCP socket 0.0.0.0:10116.
It also creates automatically rotated log directories in /var/log/socklog-ucspi-tcp. The logs are owned by logacct. The corresponding
svlogd(8) process runs under the uid and gid of logacct.
You can add the service to system-wide service supervision through the update-service(8) program:
update-service --add /etc/sv/socklog-ucspi-tcp
NOTIFY SERVICE
socklog-conf notify acct grp
Running socklog-conf with the 1st argument notify, socklog-conf creates the service directory /etc/sv/socklog-notify.
socklog-conf arranges for uncat(1) to run under the uid and gid of acct and to listen on the named pipe /var/log/socklog/.notify. The
named pipe will have mode 0620, the uid of acct and the gid of grp.
All uids running a log service that is configured to push log events to the socklog-notify service must be member of the group grp.
You can add the service to system-wide service supervision through the update-service(8) program:
update-service --add /etc/sv/socklog-notify
SEE ALSO
socklog(8), svlogd(8), nc(1), tryto(1), uncat(1), socklog-check(8), tcpsvd(8), sv(8), runsv(8), runsvdir(8)
http://smarden.org/socklog/
http://smarden.org/runit/
AUTHOR
Gerrit Pape <pape@smarden.org>
socklog-conf(8)