I've already done a mksysb to tape on the old machine. But i'm having trouble trying to restore it to the new machine.
Please do correct me, in order to restore this to the new machine, the new machine needs to be booted with 5.1 also. Is this true ? Is yes, how do create a bootable cd for 5.1...
Hi there Fellow Experts,
I have a situation in which i hope ya'll could help me with. Currently i have an box running on AIX 5.1. This is a lease machine. Recently we have purchased a new box which is preinstalled with AIX 5.2. I want to know copy whatever i have in the old box(5.1) into the...
Hi everyone,
I have a situation in which i need to merge 2 files, File A and File B. Both files are fixed length files and the file format is identical. The only problem is that the files are really very very huge. Each file is has about 2 million records. Each line is about 528 bytes. So, i'm...
Fellow gurus,
I have the following situation. One flat file needs to be splitted into 2 based on a certain condition. The file come with the following format :-
A BWCIF abc 02022004061853
Drec1 abc abc abc abc abc cdef A
Drec2 abc abc abc abc abc cdef I
Drec3 abc abc abc abc...
PH,
Thanks so much. It works perfectly. Would really appreciate if you could spare a few moments to explain what the script is actually doing especially the following :-
output=`basename $1 | sed 's!.$!!'`
Thanks again.
Hi there fellow Experts,
Was hoping someone could shed some light as to how i can achieve the below :-
I have a list of files at the specific directory for eg :-
BWCRUCNT1A
BWCRUCNT1B
BWCRUCNT1C
I need to create a UNIX .sh script that will copy the file over from this directory to a another...
Hi there fellow forumers,
I've got a situation in which i'm logging on to SQLPLUS from a UNIX Command prompt. By default SQL*Plus will prompt from 3 login attempts when the login is unsuccessful due to invalid password/username. The command line call seems to be waiting for a response after the...
Hi there fellow experts,
I'm trying to replace a filename from a working directory to a a new filename. The problem that i face is that 2 of the files share the almost the same filename. Both these files will reside at the same time in the same directory;
/home/working
For eg :-
File A =...
Hi there fellow experts,
I'm very new to UNIX shell programming and I'm trying to copy a file from an ftp directory to a working directory for processing. The script will accept 2 parameters, one is the filename and the other is the SYSTEM code. The script below works fine when both the...
>>Just run the program, or supply it with a list of the fresh files?
<<The script will run a program passing in the name of file that has just arrived as an arguement.
>>How often are you planning to check for new files?
<<I think every half an hour should be sufficient
>>How are files...
Hi there fellow experts,
What i want to achieve is to have a script that consistently scans a directory for the arrival of files. Once a file arrives, the script will need to invoke a another program. I believe that we can utilise something called a UNIX DAEMON to achieve what i just mentioned...
Hi there fellow experts,
I've got a C++ module which invokes a UNIX system call (i.e cp). Say for example, when i perform the copy function, and the specified directory ran out of space, the copy function will fail. The requirement is for the C++ module to catch this error. My question would...
Hi there fellow gurus,
I have a situation here in which i seek some expert opinion/solution from the fellow forumers. Basically what i'm trying to do is :-
I have a fixed length flat which i want to load into an ORACLE database using SQLLOADER. But the problem is that i DO NOT want to load...
Hi there fellow experts,
I have two table which look like:-
TABLE A
FST_NAME LAST_NAME
ALBERT PETE
ADRIAN JAKE
MARCUS KING
TABLE B
LAST_NAME ROW_ID
ALBERT 1
ALBERT 2
MARCUS 3
What i need to do is to search...
Hi there fellows gurus,
Would be extremely grateful if anyone could help me to determine the rite C++ compiler for AIX. Currently, the AIX vendor installed Visual Age. Is that the only compiler available for AIX ? I do know that we can use G++ for a SUN machine. Can i use the G++ compiler for...
Hi there fellow gurus,
I have 3 files in the directory.
Test_Append_Time20021011123500.DAT
Test_Append_Time20021011123501.DAT
Test_Append_Time20021011143500.DAT
I'm written a script that will scan a directory looking for files with particular pattern ("Test_Append_Time") and...
Hi there fellow gurus...
Am trying to write a korn shell script to do some filename manipulation. Say for example, in a working directory there will be 2 files with the following names ABC_200210111035.dat and ABC_200210121035.dat. What i need to do is to scan the directory, and replace all the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.