![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need a sheel script to compare no of file on diffrent servers | ashahzad | Shell Programming and Scripting | 1 | 01-31-2008 09:12 AM |
| How to check succeesfull finish of a executable from the sheel script | electroon | Shell Programming and Scripting | 2 | 01-03-2008 11:10 AM |
| Script needed to FTP a file from sql report to unix server | vprevin | Shell Programming and Scripting | 0 | 10-31-2007 02:33 AM |
| chaging a environment varible using sheel script | wojtyla | Shell Programming and Scripting | 1 | 08-09-2006 04:27 AM |
| need help on unix script to run report | isingh786 | Shell Programming and Scripting | 2 | 06-29-2006 04:28 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Unix sheel script to run report
Hi All,
I have a report which I am running from unix shell script using CONCSUB utility. Just for testing I put the order number in shell script as ord_low and ord_high. But Actually what is going to happen is that the order numbers will be in a file say a.txt and this CONCSUB should read the order numbers from a.txt and then run the report. Or May be there is some more efficient way to acheive this..... Please help me as this is urgent. $ more xxxx_ORDERACK_SCH # FCP_USERNAME=`echo $* | awk ' { print $5 } ' | cut -d\" -f2` FCP_USERNAME=NJ_SCHEDULE FCP_LOGIN=APPS/xxxxx ORD_LOW=743114 ORD_HIGH=743114 export PATH ORACLE_HOME=/d1app03/oracle/testora/8.0.6 TNS_ADMIN=/d1app03/oracle/testora/8.0.6/network/admin/test_uxprd export TNS_ADMIN ORACLE_SID=test CONCSUB ${FCP_LOGIN} "OE" "Order Entry USA Expedite" ${FCP_USERNAME} WAIT=Y CON CURRENT ARO AROOEACK PRINTER=isdl NUMBER_OF_COPIES=1 PRINT_STYLE=LANDSCAPE {'1' ,'191','MSTK','D','ORDER','""',${ORD_LOW},${ORD_HIGH},'""','""','""','"" ','""',' ""','""','""','""','""','N'} and here is a.txt 743114 743115 743164 For tesing I just put three order numbers. Regards, Inder |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|