I need a little script, please.

I have 2 audio streams buttons that have "Resume" functions. There is 20 sec intro that goes into main menu where the select sound stream resides. If people let play the intro, the resume buttons everything works fine. If they select menu in the middle of intro and then select the sound stream from the sound menu then it won't go anywhere. I need to take people to the main menu.
Question #2, how do I make the selected stream button show which one selected when I return to sound selection menu?
Thanks.

Let me see if I understand this issue... your disc has a short intro and from this you jump to the main menu. Once there, you can select the sound stream you want.
If I follow correctly, the sound stream selection buttons will have a button condition on them to set the correct audio stream, right? I am not clear on where you are using a resume function?
I would set the audio stream on the button directly, OR I would use a script to set the stream, but include in the script a resume function. You'll need to identify the button you have used (to select the sound) and then set the system stream accordingly. However, you also need a line or two which looks to see if a track has been played already, and if so set the audio and resume the track.
So, use a GPRM to store a value when a track gets started... You could do this in a number of ways, but for this I suggest a simple approach. When you activate the button to play the track, set the target to go to a short script:
mov GPRM0, 1
Jump Trackname
Now, whenever the disc starts you know the GPRM will be '0', but after the track is played once it will be '1'.
For the sound script you can now rely on that value. I am going to assume that you have button 1 setting one language, and button 2 setting a second. It is likely that you won't have it set this way, but use whatever values are correct for your menu.
mov GPRM1, SPRM8
div GPRM1, 1024
Set System Stream AU(language1) If (GPRM1 = 1)
Set System Stream AU(language2) If (GPRM1 = 2)
Goto 7 IF (GPRM0 = 1)
Jump trackname
Resume
Now, if you set the menu buttons to both go to this script you should achieve what you want. In line 1 we find the button you clicked on (i.e. the language you chose), and in line 2 we made that value more usable by reducing it to a simple digit.
Lines 3 and 4 set the audio stream according to which button was selected and line 5 checks to see if a track has already played (if so, you jump the next line). If a track has not played, you go to the start of the named track (make sure you use the correct name in this line) and the resume function won't be called.
If the track has already played, then you skip the jump statement and land on the resume function instead.
Have a go with this and see how it works for you. I haven't tested it, so would be interested to know if it works as I think it should.

Similar Messages

  • Need a little help please    Airport Express

    Need a little help please.
    I am trying to set up a wireless network at my home using Airport Express.
    I have a regular phone line running in to I assume the modem. From there, there is an Ethernet cable running from that box to the back of the PC. My question is, I think, which of those do I unplug and plug into the Airport Express, the one on the back of the PC or the one that is in the back of the modem, or is this totally wrong.
    Any help would be appreciated…
    Thanks
    In advance…
    PS I have the manual but to me it is not very clear…

    Your connection sequence would look like this:
    Internet > Modem > AirPort Express >>>wireless to your computers.
    This means that you would unplug the cable that is now connected at the back of your PC and move that connection to the AirPort Express.
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Click Continue to follow the guided setup. On the third page, you will choose the option to "Create a wireless network" and continue the setup.

  • Need a little advice please?

    Hi all
    Been a while since I've had any problems with my system but just lately it seems to have gone a little flakey on me.
    About 3 weeks ago I installed a Soundblaster 5.1Live card and was very impressed with the sound quality compared to my old Muse XL card. Everything was fine for a couple of weeks and then all of a sudden no sound would come out of the speakers! I hadn't touched anything to do with the case, either inside or outside since installing the card or any audio settings and I checked that the speakers where ok on another system.
    As my wife had been very impressed with the sound quality of the 5.1 before all sound was lost and so I had already decided to put that card in her machine and had ordered an Audigy 2 for this system since I was sort of planning on hooking it up to our surround sound system. I tried uninstalling and reinstalling the drivers for the 5.1 card but this made no difference and so when the Audigy 2 arrived today I removed the 5.1 and installed the Audigy 2 instead. Everything says it's installed properly but there's still no sound at all. It's currently installed on PCI slot 4, the same as the 5.1 had been and the Muse XL before it.
    I know there can be problems between VIA chipsets and creative cards but I always thought they were usually to do with distorted sounds or popping and crackling, not just a sudden loss of sound..i.e. Saturday night it was happily playing MP3's and then Sunday morning nothing!
    Would appreciate any advice
    Ta
    Chris

    Hi guys
    Thanks for the advice. I've cleared the CMOS, reinstalled the Audigy2 in slot 3 and the NIC in slot 4 and then reformatted the HDD and now everything is fine. All I need to do now is find out what's the best slot to install the SB 5.1 on my wife's ABIT KD7-E Mobo...it's ok, I'm not asking...will go and ask on AMD forums

  • I need a little script badly...

    I need a script attached to the "English" subtitle button. The script should have 2 variables:
    1. When I click "English" from subtitles menu before it will add subtitles and take me back to main menu, where I can play movie or chose chapters.
    2. When I click "English" from subtitles while the movie is playing it will add subtitles and resume play.
    I also have Spanish subtitles, I assume I can take the same script and apply to "Spanish" button as well.
    Thanks you very much.
    Message was edited by: Girshon Rutstein
    Message was edited by: Girshon Rutstein

    I need a script attached to the "English" subtitle button. The script should have 2 variables:
    1. When I click "English" from subtitles menu before it will add subtitles and take me back to main menu, where I can play movie or chose chapters.
    2. When I click "English" from subtitles while the movie is playing it will add subtitles and resume play.
    I also have Spanish subtitles, I assume I can take the same script and apply to "Spanish" button as well.
    Thanks you very much.
    Message was edited by: Girshon Rutstein
    Message was edited by: Girshon Rutstein

  • Ok.... i need a little help please...

    ok so my friend had an ipod and it seems to be messed up,
    so i told him id look at it, the problem is that it restarts and freezes ramdomly. after a while of playing around with it i got it to work. however i could only put about 2.45 gigs of media on it.
    I have a feeling the harddrive needs to be formated. so i tried that throught itunes and no luck so far.
    i am wondering if i could put it in disk mode and fromat it like an actual hard drive? also if i do that where can i find the files that are on the ipod that make it work as an ipod rather than a harddrive?
    Thanks
    [wildchild]
      Windows XP Pro  

    I have a feeling the harddrive needs to be formated. so i tried that throught itunes and no luck so far.No luck as in you don't know how to do it, you tried but it would format, it didn't fix the problem, what?
    i am wondering if i could put it in disk mode and fromat it like an actual hard drive?
    Sure. Right click and format it FAT32, then you need to Restore it via iTunes.

  • I need a little help, please

    I had problems to install my Msi geforceti4200 128mb with agp 8x. I installed it good at the end, The problem is when i formated my pc.
    I have screen lag in all my games, even in games like worms armageddon. Please tell me step by step what i have to do to install correct the video card. Same happened to me in the past and i fixed it, dunno how but i did.
    I installed via drivers, directx 9.0 and i tried with 41.09 and 43.45 nvidia drivers. Even when i try to run 3dmark 2001 se it says me that i havent installed directx 8.1 ;o.
    My pc is P4 2.0
    Abit sr7-8x
    msi geforceti4200 with agp 8x and VIVO
    tft 17" im using dvi
    768 mb ddr

    OK, I hav a previous 4x version of your mobo, which is the SA-7 SIS645DX chipset, I am very sure that yours is a SIS Chipset mobo not Intel with the support for 8x capability. You can find your mobo driver at http://www.abit.com.tw under motherboards> drivers and look for your mobo's model. Download only the released version, don't use any of the VIA 4 in 1 drivers as now you are running on SIS chipset... Sorry to have given you the wrong info for downloading VIA 4 in 1 drivers previously... :P
    Download also the SIS AGP accelerator ver 1.1.14 for your mobo's AGP slot.
    The reason why you are unable to disable SBA is probably due to the wrong mobo drivers installed.
    Follow the steps again and see if you are able to view AGP traffic enable with 8x and if you are able to disable SBA from control panel.
    All the Best... :D!!!

  • Need a little scripting help

    Can someone post some basic code that shows how to export from a form on a web page and how the shell script reads that variable in.
    I'm trying to take a value called TYPE and post that to the shell version of the transfer script. I don't know how to relate that TYPE variable to something the shell can understand.
    Many thanks.
    Dave

    Thanks try67. . .  but I probably did not pose the question correctly. When I inserted the script I got the discounted value when I really wanted the value minus the discount.... in this case it would have been $100.00. (1 Die LIne @ $115.00 - $15.00 = $100.00).

  • Need a little help please. Three questions...

    I just got iLife 08 (never used it before) and have updated my old website which was on a personal domaine host (www.dpkmusic.com) and has been up for a few years now...
    What did is publish my new iWeb site to a folder (to my existing website local folder on my hard drive) then upload it via FTP to my host domain server.
    Question is, how can I clean up the URL so that it reads like it used to; which was (www.dpkmusic.com).
    Now, if you type in www.dpkmusic.com , you get this when you hit return,
    (www.dpkmusic.com/DPKMusic/Welcome-FrontPage.html). I don’t want to publish to .mac right now.
    Question 2. Hover color change for text links with rendered FX, like shadows, don’t work. The links work fine but won’t change color. In other words, hover works just fine as long as there are no FX applied to the text. Any way to make this work?
    Question 3. How do you make a link to a FILE open up in a new window (like an mp3). For external page links, this works just fine by checking off the box in the inspector window. But the option is not there for file linking or for linking to one of my own pages... What am I missing here?
    Thanks,
    dpk

    Your connection sequence would look like this:
    Internet > Modem > AirPort Express >>>wireless to your computers.
    This means that you would unplug the cable that is now connected at the back of your PC and move that connection to the AirPort Express.
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Click Continue to follow the guided setup. On the third page, you will choose the option to "Create a wireless network" and continue the setup.

  • Network Unknown?  Need a little clarity please Verizon

         I originally got my Motorola Droid in December, and one thing I constantly noticed was that under my Settings-About Phone-Status menu...for my Network, it always said Network: Unknown. 
         I thought this was surely a mistake, perhaps just a small glitch, as I assume It should say "Verizon" for the network.  And yes, this is on 3g, not on Wifi.  So just a week or so ago, I ended up having to get a replacement refurb covered under my warranty...but was quite surprised that this phone is also doing the exact same thing. 
         I have searched around a bit and haven't found any other documentation about this issue...if it is even an issue at all.  My 3g speeds have always tended to be on the slower side of what is considered to be typical, but I don't know if this "unknown" status has anything to do with that or not.  If anyone can provide any clarity regarding this issue I would greatly appreciate it.  Thank you for your time.

    mine says network unknown as well.... what does this mean? 

  • Tv-star.sh, a little script for managing tv.

    Hi altogether!
    I wanted a very small app to watch and record tv with my dvb-t stick, so I created tv-star.sh:
    #!/bin/bash
    # Befor you start, you need to edit the 2
    # variables SCANBASE and MOVIEFOLDER
    # This is the base-file for the frequency-scan.
    # Chose the one corresponding to your location.
    SCANBASE="/usr/share/dvb/dvb-t/de-Schleswig-Holstein"
    # Folder where the movies are stored.
    # IMPORTANT: Use the full path, don't use ~ for your home!
    # Example:
    # MOVIEFOLDER="/home/tux/tv/"
    MOVIEFOLDER=""
    echo -e "\n***********************************"
    echo "*** tv-star 0.5 ***"
    echo "*** by Thomas Schuetz ***"
    echo "***********************************"
    MAINLOOP=1
    if [ "$MOVIEFOLDER" == "" ]; then
    MAINLOOP=0
    echo -e "\nYou need to edit the variables SCANBASE and MOVIEFOLDER in the top of the script before you can use it.\n"
    fi
    while [ ${MAINLOOP} -gt 0 ]; do
    echo -e "\n"
    echo "1) Watch TV"
    echo "2) Record a movie"
    echo "3) Cancel the record of a movie"
    echo "4) Watch recorded movie"
    echo "5) Delete recorded movie"
    echo "8) Show informationen about tv-star.sh"
    echo "9) Create new channel.conf"
    echo "0) Quit"
    echo -e -n "\nYour choice: "
    read INPUT
    echo -e "\n"
    case $INPUT in
    1) echo "Please chose the station you want to watch:"
    NUMBER=0
    for LINE in `cat ~/.mplayer/channels.conf | sed s/:.*//`; do
    NUMBER=$((NUMBER+1))
    echo -n ${NUMBER}") "
    echo ${LINE};
    done
    echo -e -n "\nYour choice: "
    read STATION
    STATIONNAME=`tail -n +$STATION ~/.mplayer/channels.conf | head -n 1 | sed s/:.*//`
    mplayer dvb://${STATIONNAME}
    2) echo "Please chose the station where you want to record a movie:"
    NUMBER=0
    for LINE in `cat ~/.mplayer/channels.conf | sed s/:.*//`; do
    NUMBER=$((NUMBER+1))
    echo -n ${NUMBER}") "
    echo ${LINE};
    done
    echo -e -n "\nYour choice: "
    read STATION
    RECORDSTATION=`tail -n +${STATION} ~/.mplayer/channels.conf | head -n 1 | sed s/:.*//`
    echo -e -n "\nWhen do you want to start the record (Format: 20:15)? "
    read RECORDSTART
    echo -e -n "\nWhen do you want to end the record (Format: 22:00)? "
    read RECORDEND
    echo -e -n "\nHow should the file be named? "
    read RECORDFILE
    echo "mplayer -quiet dvb://${RECORDSTATION} -dumpstream -dumpfile ${MOVIEFOLDER}${RECORDFILE}" | at ${RECORDSTART}
    echo "killall mplayer" | at ${RECORDEND}
    echo
    3) echo "Available at-jobs:"
    atq
    echo "I will always cancel the start- and the end-job, please only enter the number of the start-job (the one with the lower number)!"
    echo -e -n "\nWhich job do you want to cancel (0 = none): "
    read JOB
    if [ ${JOB} -gt 0 ]; then
    atrm ${JOB}
    KILLJOB=$((${JOB}+1))
    atrm ${KILLJOB}
    fi
    4) echo "Recorded movies:"
    NUMBER=0
    for LINE in `ls ${MOVIEFOLDER}`; do
    NUMBER=$((NUMBER+1))
    echo -n ${NUMBER}") "
    echo ${LINE};
    done
    echo -e -n "\nWhich movie do you want to watch (0 = none): "
    read MOVIEFOLDERNUMBER
    NUMBER=0
    if [ ${MOVIEFOLDERNUMBER} -gt 0 ]; then
    for LINE in `ls ${MOVIEFOLDER}`; do
    NUMBER=$((NUMBER+1))
    if [ $((NUMBER)) == $((MOVIEFOLDERNUMBER)) ]; then
    MOVIEFOLDERNAME=${LINE}
    fi
    done
    mplayer ${MOVIEFOLDER}${MOVIEFOLDERNAME}
    fi
    5) echo "Recorded movies:"
    NUMBER=0
    for LINE in `ls ${MOVIEFOLDER}`; do
    NUMBER=$((NUMBER+1))
    echo -n ${NUMBER}") "
    echo ${LINE};
    done
    echo -e -n "\nWhich movie do you want to delet (0 = none): "
    read MOVIEFOLDERNUMBER
    NUMBER=0
    if [ ${MOVIEFOLDERNUMBER} -gt 0 ]; then
    for LINE in `ls ${MOVIEFOLDER}`; do
    NUMBER=$((NUMBER+1))
    if [ $((NUMBER)) == $((MOVIEFOLDERNUMBER)) ]; then
    MOVIEFOLDERNAME=${LINE}
    fi
    done
    rm -i ${MOVIEFOLDER}${MOVIEFOLDERNAME}
    fi
    8) echo "About tv-star.sh 0.5 by Thomas Schuetz, 2011-08-27:"
    echo "---------------------------------------------------"
    echo -n "There are great mediacenter-projects like MythTV, but they are too big for "
    echo -n "my simple needs. In fact, you only need one single line to record a movie, "
    echo -n "but I was too lazy to type the long line always by myself, so I created this "
    echo "little script and put everything in it, I need for handling tv."
    echo -n "The script itself is very simple, it only needs mplayer, the scan-command "
    echo -n "from the dvb-apps and some standard shell-commands. Before you really use it, "
    echo "you need to edit the variables SCANBASE and MOVIEFOLDER in the top of the script."
    9) echo -e "Creating a new channel.conf, please wait a while!\n"
    rm -f ~/.mplayer/channels.conf.old
    mv ~/.mplayer/channels.conf ~/.mplayer/channels.conf.old
    scan $SCANBASE | sed -e 's/\ /_/g' -e 's/\//_/g' -e 's/\*//' > ~/.mplayer/channels.conf
    0) echo -e "Thank you for using tv-star.sh!\n"
    MAINLOOP=0
    *) echo -e "Wrong input, please chose again!\n"
    esac
    done
    I am no programmer, so if you have any ideas how I can make the script better, please tell me!

    Some improvements:
    diff --git a/tv-star.sh b/tv-star.sh
    index a9b6666..3bfe603 100644
    --- a/tv-star.sh
    +++ b/tv-star.sh
    @@ -8,25 +8,16 @@
    SCANBASE="/usr/share/dvb/dvb-t/de-Schleswig-Holstein"
    # Folder where the movies are stored.
    -# IMPORTANT: Use the full path, don't use ~ for your home!
    -# Example:
    -# MOVIEFOLDER="/home/tux/tv/"
    -MOVIEFOLDER=""
    +MOVIEFOLDER=~/tv/
    +mkdir -p $MOVIEFOLDER
    -echo -e "\n***********************************"
    +echo
    +echo "***********************************"
    echo "*** tv-star 0.5 ***"
    echo "*** by Thomas Schuetz ***"
    echo "***********************************"
    -MAINLOOP=1
    -if [ "$MOVIEFOLDER" == "" ]; then
    - MAINLOOP=0
    - echo -e "\nYou need to edit the variables SCANBASE and MOVIEFOLDER in the top of the script before you can use it.\n"
    -fi
    -while [ ${MAINLOOP} -gt 0 ]; do
    +while :; do
    echo -e "\n"
    echo "1) Watch TV"
    echo "2) Record a movie"
    @@ -40,7 +31,7 @@ while [ ${MAINLOOP} -gt 0 ]; do
    read INPUT
    echo -e "\n"
    case $INPUT in
    - 1) echo "Please chose the station you want to watch:"
    + 1) echo "Please choose the station you want to watch:"
    NUMBER=0
    for LINE in `cat ~/.mplayer/channels.conf | sed s/:.*//`; do
    NUMBER=$((NUMBER+1))
    @@ -139,9 +130,9 @@ while [ ${MAINLOOP} -gt 0 ]; do
    scan $SCANBASE | sed -e 's/\ /_/g' -e 's/\//_/g' -e 's/\*//' > ~/.mplayer/channels.conf
    0) echo -e "Thank you for using tv-star.sh!\n"
    - MAINLOOP=0
    + break
    *) echo -e "Wrong input, please chose again!\n"
    esac
    Last edited by JohannesSM64 (2011-08-27 08:30:45)

  • HT4208 I just need a little bit of help. I visited the american ap store looking for the new scrabble game which is not available in the australian ap store. Can't get it anyway as I don't have an account there. I am trying to get back to the australian a

    I just need a little bit of help. I visited the american ap store, using my i phone, to check out something. I dont have an account with them so I couldn't get what I wanted anyway.Now, I need to get back to the australian store and I don't know how to do that. Please help!

    Go to app store- scroll down to bottom- click on apple id- change country

  • Need a shell script to backup archive log daily

    Hi All,
    We need a shell script to backup the archive logs daily after shutting down the concurrent manager and once the backup is completed, needs to start the concurrent manager through the script itself, if you have any ideas or sample scripts, please provide and help us.
    The objective is to backup the daily archive logs with out any loss of data.
    Thanks,

    I do not have a similar script to share, sorry. However, you may review the following links/notes:
    Note: 137181.1 - RMAN Backup Shell Script Example
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=137181.1
    Recovery Manager (RMAN) Manuals
    http://www.oracle.com/pls/db102/homepage

  • Greetings,   I need a little help. I have a WRT54G Wirele...

    Greetings,
    I need a little help. I have a WRT54G Wireless Router, and it worked well for years with my Alcatel DSL Modem (Bellsouth/ATT).  The modem went out and it was replaced with Westell Modem.  When I bypass the router I have no problem connecting to the Internet, however when I connect the router--no connection.  I thought it would not be a problem swapping the modem out.  I am running XP with Norton Internet Security and Anti-virus.  I have disabled Norton and do not believe that to be the problem.  Do I have to reconfigure the router?  If so, can I do it with the original install CD?  (I am disabled and the original CD/instructions/box is in the attic and I cannot get it easily.)  I have read several different threads, but they do not specifically address my problem.  Any assistance is appreciated.  Eddy

    Many Westell modems are actually "modem-routers" and they use the same 192.168.1.1  address space as your WRT54G.  This is the root of your problems.
    Try the settings at this URL.
    http://www.dslreports.com/faq/6323
    Note that the "WAN" port on the BEFSR41 in the example is the same as the "Internet" port on your WRT54G.
    Please let me know whether or not this worked for you.

  • I am in need of ai script for arcing text

    i am in need of ai script for arcing text

    A little vague aren't we… Is this the kind of arcing you mean? Text along a curve or do you mean distorting into an arch like some plug-in can?
    #target illustrator
    var doc = app.activeDocument;
    doc.defaultFilled = false, doc.defaultStroked = true;
    var textPath = doc.pathItems.ellipse( 0, 0, doc.width, doc.height );
    textPath.pathPoints[3].selected = PathPointSelection.ANCHORPOINT;
    app.cut();
    doc.selection = null;
    app.redraw();
    var tp = doc.textFrames.pathText( doc.pathItems[0], 0, 0, TextOrientation.HORIZONTAL );
    tp.textRange.paragraphAttributes.justification = Justification.CENTER;
    tp.textRange.characterAttributes.size = 60;
    tp.contents = 'I am in need of ai script…';
    var tpd = tp.duplicate();
    tpd.translate( 0, -150 );
    tpd.textRange.characterAttributes.size = 90;
    tpd.contents = '…for arcing text?';

  • Help Needed with Apple Script

    I need a little help with Apple Script. I have been using a script for several months now, and all of a sudden it just stopped working. Here's the script"
    ============
    with timeout of 9999 seconds
    tell application "Finder"
    activate
    (* copy target file to another disk - to create a backup *)
    duplicate file "Daily.dmg" of folder "File Backups" of disk "HD Mirror" to folder "Data Backup-Daily" of disk "MacHD 1" replacing yes
    (* copy a 2nd target file to another disk - to create a backup *)
    duplicate file "Personal.dmg" of folder "File Backups" of disk "HD Mirror" to folder "Data Backup-Daily" of disk "MacHD 1" replacing yes
    (* now copy the 2nd target file to my iDisk *)
    duplicate file "Personal.dmg" of folder "Data Backup-Daily" of disk "MacHD 1" to folder "Documents" of disk "xxxxxx" replacing yes
    end tell
    end timeout
    ============
    In the above script, xxxxxx represents the name of my iDisk that is mounted in the Finder.
    Here's my issue - the above script worked fine until just recently. However, now the first two steps work fine, but I get this error message while trying to copy the file to my iDisk:
    "The operation could not be completed because some items had to be skipped. 'Personal.dmg'"
    Does anyone have any ideas on how I can fix this? I'm wondering if Mac OS 10.4.5 might be the culprit since this problem seems to have occurred shortly after I upgraded???
    Thanks,
    -AstraPoint

    Hi,
    Assumptions :-
    uuencode command exits
    mailx command exits
    File name is "vas.txt".
    Mail id is "[email protected]"
    # START OF SCRIPT
    #!/bin/ksh
    vasFileName="$1"
    vasRecordsDirFile=/etl/dev/work/wellness/enrl_rej/records/${vasFileName}
    vasMetatdataDirFile=/etl/dev/work/wellness/enrl_rej/metadata/${vasFileName}
    vasHeaderDirFile=/etl/dev/work/wellness/enrl_rej/header/${vasFileName}
    vasHeaderRejDirFile=/etl/dev/work/wellness/enrl_rej/hdrrej/${vasFileName}
    vasFieldsDirFile=/etl/dev/work/wellness/enrl_rej/fields/${vasFileName}
    if [[ -e ${vasRecordsDirFile} ]]
    then
    uuencode ${vasRecordsDirFile} ${vasRecordsDirFile} | mailx -s "process complete and attached are the rejected records" [email protected]
    elif [[ -e ${vasMetatdataDirFile} ]]
    then
    uuencode ${vasMetatdataDirFile} ${vasMetatdataDirFile} | mailx -s "Metadata Mismatch no of fields in detail didn't match" [email protected]
    elif [[ -e ${vasHeaderDirFile} ]]
    then
    uuencode ${vasHeaderDirFile} ${vasHeaderDirFile} | mailx -s "Problem with header file - File Rejected" [email protected]
    elif [[ -e ${vasHeaderRejDirFile} ]]
    then
    uuencode ${vasHeaderRejDirFile} ${vasHeaderRejDirFile} | mailx -s "the Percentage of rejects more than 3 percent File rejected" [email protected]
    elif [[ -e ${vasFieldsDirFile} ]]
    then
    uuencode ${vasFieldsDirFile} ${vasFieldsDirFile} | mailx -s "The header and detail count didn't match File rejected" [email protected]
    else
    echo "File doesn't exist in any of the directories mentioned."
    fi
    # END
    Vijay Bheemineni.

Maybe you are looking for

  • How can i open itunes if there is a problem with the itunes library file?

    Hi to everybody, it's my first time in itunes and after installing it I moved the folder in music. Then i was questioned about something on sharing or account, I can't remember, and i choised not to share anymore. After that every time i try to open

  • User Exit for Variable which calls to a Function Module is NOT working ???

    Hi all,     I have a created a variable 'ZNBUSDAY' with Processing Type 'Customer Exit' on 0SCL_DELDAT  (Date). The query is on 0PUR_C04 and passing 0SCL_DELDAT  to Function Module  Z_WORKDAY to get the Next Business Day by using the company Calendar

  • Find exact RFC Destination for Multiple backend Systems In SAP Gateway

    Hi Gateway developers, I have requirement,if gateway hub system has multiple backend systems( for example two backend systems: ECC and SRM ) then  how  hub system can get the suitable backend alias for exact entity collection.. Here i have developed

  • Updating apps cannot connect to i tunes store

    ive had my i pad 2 since the release date and just latelly when prompted to update an app it tells me connot conect to itunes store, ive read alot online about different fixes, date, time ect? is this just a case of itunes being weird at the moment i

  • Bluray player does not wok ( Pavilion DV9000)

    Hello. I will try my best,but my english is not that good. I have a hp pavilion dv9000, and on the cd staion it says i got bluray on it, but when i last night tryed to watch a movie it did not read it. I went to ''my computer'' and I could not see th