Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: yy2
  • Order by date
  1. yy2

    mailx or sendmail command

    Can anyone provide the command how to send a text file as a attachment with a proper subject using mailx or sendmail command in UNIX. Note: I am using HP-UX OS. The file send should be the attachment, not in the message body. In addition, I need to put in the mail subject as well.
  2. yy2

    mailx or sendmail command

    Can anyone provide the command how to send a text file as a attachment with a proper subject using mailx or sendmail command in UNIX. Note: I am using HP-UX OS. The file send should be the attachment, not in the message body. In addition, I need to put in the mail subject as well. Thanks.
  3. yy2

    Unix Cron Job

    Yes, both the TERM and TERMCAP are exported in my scripts. We are using TERM=wy150. Is there any other setting that has been missed out?
  4. yy2

    Unix Cron Job

    Hi, I am facing some problem while executing the process thru cron. My execution scripts (KORN shell) will be something as below: echo U$(tput kf9)$(tput kf9)|/prog/bin/prog1.exe M A 1>/prog/log/cron.log In my cron.log, I can see that the 1st input parameters is not passing in to the...
  5. yy2

    exit status

    Hi, Can anyone tell me why I get the different exit status for the following script execution: Script A ---------- ksh -c "/proj/prog.exe " 2>>/tmp/run.log 1>/tmp/error.log << ! ^M ! ret_code=$? Script B -------- ksh -c "/proj/prog.exe " << ! ^M ! ret_code=$? Why am I getting...
  6. yy2

    Passing argument from one script to another script

    Hi, I am just wonder what is a proper way to pass in a variable which content control character e.g ^M from one script to another script. e.g Script A --------- var_a='YYY^M' procA(var_a) Script B -------- function procA { .... Do while... inpt1=$1 echo $inpt .... } However, in...
  7. yy2

    How to handle &quot;tcflush&quot;

    Hi, I have a 4GL program which expecting 2 input screens. The 1st screen is expecting: 1. date1 2. date2 The 2nd screen is expecting: 1. input array of a/c no and press F8 to process or 2. Leave the entry blank and press F8 to process. I have a unix scripts which calling this 4GL program by...
  8. yy2

    How to check the Informix-4gl - on key (Accept) Value

    I have an additional queries: What would be the argument values to be pass from the unix script to the 4gl program if the 4gl program require input array? e.g ksh -c "echo <input array><F9 ctrl-key>|/proj/prog.exe" <<^M ! The possible input array to be pass in are as below: 1. Input array...
  9. yy2

    How to check the Informix-4gl - on key (Accept) Value

    Thank you for your help, it is working perfectly fine. I have another similar issue but the informix-4GL was written in a different way as below: Program id: onkey.4gh .... .... on key (F9) let g_onkey = 9 Program id: hotkeys.h #define F9.key 9 ..... Program id: Prog.4gl #include hotkeys.h...
  10. yy2

    How to check the Informix-4gl - on key (Accept) Value

    Let me explain a bit of the backgroud before I post my question: Inside the informix 4gl program OPTIONS INPUT WRAP OPTIONS INSERT KEY F2 OPTIONS NEXT KEY F3 OPTIONS PREVIOUS KEY F4 OPTIONS DELETE KEY F8 OPTIONS ACCEPT KEY F9 ..... ...

Part and Inventory Search

Back
Top