Search Results

Search: Posts Made By: dgreene
1,976
Posted By dgreene
That worked! Thank you very much. I have spent...
That worked! Thank you very much. I have spent hours today trying different combinations of sed, awk, unix commands, everything. I have never had a variable so difficult to manipulate.
1,976
Posted By dgreene
suprtool <<!EOSUPRTOOL INPUT ...
suprtool <<!EOSUPRTOOL
INPUT TEMPDATA/jelg0100_batchid.dat, reclen 8,lf
DEF BATCHID,1,8
EXT BATCHID
SORT BATCHID
DUPLICATE NONE KEYS
OUTPUT TEMPDATA/jelg0100_batchid_sorted.dat,LINK,lf...
1,976
Posted By dgreene
Thank you, but that still does not work: ...
Thank you, but that still does not work:

echo "BTCH_ID " = $BTCH_ID
+ echo BTCH_ID = 1389428^
BTCH_ID = 1389428^

I copied/pasted your commands export BTCH_ID=$(tr -d '\r' < straight into the...
1,976
Posted By dgreene
Deleting carriage control from shell script variable
I have a shell script variable called batch_id which contains the following value

export BTCH_ID=`cat /TEMPDATA/jelg0100_batchid_sorted.dat`
echo "BTCH_ID " = $BTCH_ID
BTCH_ID = 1389428^
...
1,490
Posted By dgreene
Nested looping statements
I cannot get the code below to work correctly. The IF statement works just fine, but not the looping. The inner loop tries to find files for a given vendor; if found, I need to sleep giving another...
Showing results 1 to 5 of 5

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