Search Results

Search: Posts Made By: developncode
21,039
Posted By developncode
Connecting to remote unix server using java?
I need help writing java code that can connect to a remote unix server, and run a script on that server. I have scoured the internet, but I have been unable to find proper documentation on how this...
10,159
Posted By developncode
Connecting and Querying DB2 database from Unix Script?
I am trying to develop a script that can connect to a DB2 database mainframe and Query the database and display the results. I've been researching, but I have yet to find a definitive solution where...
13,459
Posted By developncode
Connecting to DB2 database on Mainframe and Querying DB
I am trying to develop a script that can connect to a DB2 database mainframe and Query the database and display the results. I've been researching, but I have yet to find a definitive solution where...
7,115
Posted By developncode
Thanks for the quick reply, Do you know any other...
Thanks for the quick reply, Do you know any other way that I could do it?...I was trying to find a way to do it without using perl?
7,115
Posted By developncode
KSH Checking Previous Date**
How would I go about getting the previous date on the server? I'm out of ideas...I am thinking that I could do it using the date command, but I am unable to find any information on doing it. For...
48,428
Posted By developncode
I was able to get it to work...sorry it had one...
I was able to get it to work...sorry it had one leading whitespace that was keeping it from recognizing that the variable was numeric and not a string. Thanks for all your help I really appreciate it.
48,428
Posted By developncode
No there aren't any leading or trailing...
No there aren't any leading or trailing whitespaces or newlines in this variable. I'm not sure why it is giving me warnings for legit zipcodes with 5 digits, but is there another way to check and see...
48,428
Posted By developncode
Sorry it was a little tedious, but I just tried...
Sorry it was a little tedious, but I just tried it your way and it still doesnt work...it prints out zipcode warnings for every line in the file. even the ones that are legit...I'm not sure what we...
48,428
Posted By developncode
Ksh How to test if variable is numeric??
I'm trying to test and see whether a variable that is being extracted from a line in a file is numeric or not. I have tried everything that I can think of and I cannot figure out how to get it to...
5,588
Posted By developncode
I want the script to read each line of each file...
I want the script to read each line of each file in a directory that begins with: 20080402*
and I want it to print output for each file..My first thought was to use an ls command and store the...
5,588
Posted By developncode
Ksh Storing Multiple Files and reading each line in each file.
How would I go about storing multiple file paths in a directory that begin like: 20080402*
and run a loop that reads each line of each file thats in a given directory. So far this is what I have:
...
9,393
Posted By developncode
Ksh Checking if string has 2 characters and does not contain digits?
How could I check if a string variable contains at least (or only) 2 characters, and check and make sure that the string does not contain any numeric digits?...I need to know how to do this as simple...
4,696
Posted By developncode
Ksh Why Won't IF Statement work?
I'm trying to figure out why this if statement won't work:

if [[ $zipcode != +([0-9)] || $zipcount != 6 ]]
then
echo ${myline}
echo "ZIPCODE WARNING!...
10,750
Posted By developncode
ksh Checking if variable has 5 digits
How could I check if a numeric variable has 5 digits in KSH...I have a zipcode variable that I know will always be 5 digits, and I want to print out an error if it is less or more than 5 digits the...
Showing results 1 to 14 of 14

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