Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Need help in shell script (Urgent : Please help) Post 302222328 by vnmshenoy on Wednesday 6th of August 2008 02:37:49 PM
Old 08-06-2008
Need help in shell script (Urgent : Please help)

i have load.bat file in my windows ...IN WINDOWSwe have a loader.exe file which loads the data in some queue.We keep this data in a particular folder i.e "in" folder. Now this loader.exe file picks the data from the "in" folder and loads it in an MQueue.I dont know exactly how this loader.exe file works but w.r.t this questn i dont think its imp...Now we created a load.bat file c:cd c:/prjct/Java/bin ( )Loader.exe -t ABC.cfg -f c:/prjct/Java/in/DataLoader.exe -t DEF.cfg -f c:/prjct/Java/in/Data1Things in bold above is contained in load.bat file....as i told you "in" is the folder where we have data which is picked up by loader.exeABC.cfg and DEF.cfg files are 2 config files( Since data is in GFF i.e Generic File Format)IN UNIXNow i need a shell script which does the same work as "load.bat" . ( I guess i have loader.exe in my unix box...and it works fine....)i just need a shell script syntax which does the same thing as load.bat file did in windowsURGENT
 

9 More Discussions You Might Find Interesting

1. Solaris

Urgent help needed - shell script

Dear friends, I am trying to prepare a shell script which do the following task. Being a beginner in scripting I need a bit of help from you all for shell script which does the following job. 1.Check for existence of a file in a shared directory (at some remote location ) once in a day ... (3 Replies)
Discussion started by: aarora_98
3 Replies

2. Shell Programming and Scripting

Urgent for shell script

Hi friends, I am working as a DataStage developer. I need help in writing shell script. I have following file and I want to remove data from 1st field and store it into other file. Convert this file, A100 Tylenol 100mg A100 PCML 500mg B120 CFDR 250mg C345 PFLX 600mg ... (4 Replies)
Discussion started by: sunnysunny
4 Replies

3. Shell Programming and Scripting

(Urgent):Creating flat file using sql script and sqlplus from UNIX Shell Script

Hi, I need help urgently for following issue. Pls help me to resolve this issue. I am calling sql script file(file1.sql) from UNIX Shell Script(script1.ksh) using sql plus and trying to create flat file that contains all records returned from SQL query in SQL script(file1.sql) I given... (6 Replies)
Discussion started by: praka
6 Replies

4. Shell Programming and Scripting

Needed urgent help with shell script

Hi, Thanks for the reply to the previous posting.I need a shell script to the following.I am entirely new to the comapny and please help me with this. 1) Create the file with a timestamp i.e. nrt_readership.mmddyyyyhhmm 2) The processing job will look for files of the pattern... (0 Replies)
Discussion started by: pharishraja
0 Replies

5. Shell Programming and Scripting

URGENT HELP ON A SHELL SCRIPT

I have been asked to create a shell script that accepts a number of SQL select queries as input, runs them in sequence, spools the output to an EXCEL workbook, where, each worksheet is an output of a Select statement run above. The workbook should be in a .XLS format. If a particular select... (1 Reply)
Discussion started by: ShellNovice1
1 Replies

6. Shell Programming and Scripting

Need urgent help with korn shell script

Hi All, Need urgent help with korn shell script, which monitors AIX WPARs Status. Basically WPARs run on a LPAR, So there is a Command "lswpar" which displays WPARs status. This script should be checking the WPARs Status and email support if WPAR is down or broken. General lswpar output is as... (3 Replies)
Discussion started by: aix_admin_007
3 Replies

7. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies

8. Shell Programming and Scripting

Shell script assistance Urgent

write a script using shift and case to receive 11 argument and do the following --arg1 - print hello message and the current proccess id --arg2 - read and edit a file based on the value which came along with the arg2. --arg3 - validate whether all... (1 Reply)
Discussion started by: saku
1 Replies

9. Shell Programming and Scripting

Shell script urgent help please

Hello, I have below string, even I have hundreds of lines in a file. I want to exactly match last two consecutive strings. 2017-09-30|ACBD,TVF|01234|NULL|18|NULL|686091802|BANK OF ABCD, LIMITED, THE|2017-09-30 00:00:00 I want to extract the string 2017-09-30 00:00:00 How can I do... (1 Reply)
Discussion started by: shellquery26666
1 Replies
mop_mom(8)						      System Manager's Manual							mop_mom(8)

Name
       mop_mom - MOP down-line/up-line load listener

Syntax
       /etc/mop_mom

Description
       The  command listens for down-line load and up-line dump requests on behalf of your local ULTRIX node.  The command, is usually included in
       the file.  When a down-line load or up-line dump request is received from a target node, spawns the loader, to process the load request.

       To process a load request, the loader requires the name of the load file.  During a down-line load process, the target  system  can  either
       request	that  the loader search the nodes data base for the name of the load file, or it can specify an image name as part of its request.
       If the target system specifies an image name, the loader does not search the data base for the file before processing the load request.

       If no absolute pathname is associated with the image file name, the loader searches for the file using the primary  default  path,  If  the
       image  file is not in it uses the secondary default, The names of the files in must be in lowercase with a extension. Otherwise, the loader
       interprets the file specification literally without appending the extension.  For example, if you give the loader the file name it attempts
       to open a file with an exact match.

       The loader must have the following information before it can accept and process a load request:

       Ethernet Physical Address
	    If the name of the image is not in the program request message itself, the Ethernet physical address of the target node must be speci-
	    fied in the nodes data base entry for the requesting target node.  For further information, see The same is true  if  the  environment
	    variable, LOADUMP_SECURE is enabled.

       Image File Name
	    The  loader  must be given the name of the image file to down-line load.  If the image file name is specified in a target node's down-
	    line load request, then the loader uses that file.	Otherwise, the file name must be defined in the requesting node's data base entry.
	    For further information, see

       Dump File Name
	    The loader must be given the name of the dump file that will contain the up-line dump image of the requesting node's memory.  The dump
	    file name must be defined in the requesting node's data base entry.  For further information, see

       Note that the System Manager can force the loader to search the nodes data base, even when the target node  specifies  a  file  name.   The
       loader  verifies  that  an  entry exists for the requesting node before proceeding with the down-line load.  Any file name specified in the
       request message supersedes a file name specified in the data base.

       To force the nodes data base search, use the following syntax before executing
       # setenv LOADUMP_SECURE on
       To permanently enable this feature, enter the following line in the file after the section on local daemons:
       LOADUMP_SECURE=on /etc/mop_mom
       The command is installed in The down-line loader, is installed in

       The file is the primary default pathname for all image files and is the secondary default pathname.  The names of the image files  in  must
       be in lowercase with a extension.

Examples
       /etc/mop_mom
       This command is usually included in the file, which causes to listen for down-line and up-line load requests.

Restrictions
       The  command  does  not	turn  on network devices.  When executed, it listens only on those devices that were previously started by network
       utilities such as or DECnet Generally, you can ensure that performs properly by putting it at the end of your rc.local file.

       Currently, only supports RSX, a.out, and VMS downline load images.

Files
       Down-line loader

       Primary default pathname for all image files

       Secondary default pathname

See Also
       addnode(8), ccr(8), getnode(8), load(8), remnode(8), trigger(8)
       Guide to Ethernet Communication Servers

4th Berkeley Distribution														mop_mom(8)
All times are GMT -4. The time now is 01:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy