Search Results

Search: Posts Made By: flounder
Forum: Programming 09-25-2006
11,409
Posted By flounder
Return value (int) from main to calling shell
What is the sytax to return an int from C program main back to calling shell?

#!/usr/bin/ksh

typeset -i NO_RECS

$NO_RECS=process_file

# Process file is a C program that is set up to...
Forum: Programming 09-05-2006
3,310
Posted By flounder
Padding variables
Is there a function in c that will allow me to pad variables?

I have an int that can't be longer than 10. I need to pad a numeric value with leading zeros

314
0000000314
9,645
Posted By flounder
Thanks for the reply... I understand the cal...
Thanks for the reply...

I understand the cal and awk but not clear on the 'END{print $NF}'

Are you setting the number of fields? ($NF)?
9,645
Posted By flounder
Calc number of days in a month
Looking for some help on capturing the number of days in a month to set as a loop counter. Any ideas, please let me know.
5,699
Posted By flounder
I would prefer to go to classes. That is key. I...
I would prefer to go to classes. That is key. I totally agree with what your saying. I am just looking for something that fits my schedule and or going somewhere within reason of where I live. I...
5,699
Posted By flounder
Do either of these schools offer internet...
Do either of these schools offer internet classes? If so is it better to accomplish this via internet or attending classes? I live in Pa and I have been searching for these types of classes but have...
5,699
Posted By flounder
Is it expensive to obtain an HP-UX cert? I have...
Is it expensive to obtain an HP-UX cert? I have been debating the same thing but really sure where to begin.
Forum: IP Networking 07-12-2002
3,314
Posted By flounder
I have resolved my issue and now I am able to ftp...
I have resolved my issue and now I am able to ftp from WinXp to my Linux box. I had a friend of mine along with sansolaris's post(much thanks) so I wanted to pass them on. The main reason why I...
Forum: Programming 07-08-2002
7,569
Posted By flounder
Depending what flavor of UNIX you are using you...
Depending what flavor of UNIX you are using you need to declare this:

/* Include the SQL Communications area */

typedef char asciz[20];
exec sql include sqlca;

exec sql begin declare...
Forum: IP Networking 07-08-2002
3,314
Posted By flounder
OK I will try that. I didn't even think to check...
OK I will try that. I didn't even think to check that. So as compared to using Samba there is no special configuration?
Forum: IP Networking 07-07-2002
3,314
Posted By flounder
RH 7.2 FTP Server Config
Is it possible to ftp from WinXp to a Linux box? I have the the ftp server set up to take the request from the WinXp box but each time I try to connect I keep getting an error, Connection...
1,693
Posted By flounder
Using version 7.2, I have added/updated using the...
Using version 7.2, I have added/updated using the install disk. I booted Install disk 1 and one of the choices is to update current config.
8,092
Posted By flounder
Not sure what version you are using but an...
Not sure what version you are using but an alternative would be and typing it from the prompt:

linuxconf
Forum: Programming 07-02-2002
12,984
Posted By flounder
You can use the statement listed below to login...
You can use the statement listed below to login to Oracle. It will run from within a shell script. I use a shell script to tie together several Oracle spool files and other programs

sqlplus -s...
8,397
Posted By flounder
I know the date command when formatted with give...
I know the date command when formatted with give you the time.

Example:

phdb102 [ogd] >date +%H:%M
12:02

This is the using variables in a shell script:

#!/usr/bin/ksh

the_hour=`date...
Forum: Filesystems, Disks and Memory 06-28-2002
1,751
Posted By flounder
ORACLE INSTL 8i RH 7.2
I am in the process of installing ora 8.1.6 on RH 7.2. According to the docs #define SHMMAX is supposed to be set at 1/2 mem installed. The path listed to this dir is /usr/src/linux/include/asm. The...
4,734
Posted By flounder
If you haven't already found some install...
If you haven't already found some install instructions try this:

http://www.bolthole.com/solaris/oracle.html

Also you may want to try the Oracle web site, it's free.
Showing results 1 to 17 of 17

 

Featured Tech Videos

All times are GMT -4. The time now is 10:32 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy