I need to make a rexx script to run in background (&), but I don´t know how to do it. It´s a simple script that runs over solaris 2.6, that makes a telnet to a remote node and execute a tail -f in a log file.
does anybody have an idea?
hope it will help u..
I do not know much about solaris and am presently working on IBM mainframes. Here , we ahve written rexx program which are can convert VSE JCL to MVS jacl. And this can be achieved by the compiler available on MVS os( name I will send u later). If ur machine has that then ur program will run in batch mode.U should create a dynamic JCL and submit it . it will run in background..
Some environments can have background limited or shut off.
You must first answer these questions.
Is batch available?
will security (acf2) allow my id to submit to batch?
(you might have to ftp your script to the side that has batch on it you will need to have a valid id and password fot that side)
Then if on IBM you will need the proper jcl job card.
The question is why batch?
What do you want your rexx to do ?
lsilvenis@aol.com
I am trying to get Jacl to work under the OMVS shell. The post from REXXBOY suggests that this is possible. If it is possible then I would appreciate information on how to get Jacl to work under the OMVS shell.
I helped a friend do something similar and it wasn't possible to do both UNIX script and telnet together. However, why not write a script on the target machine to
(1) tail log >file
(2) ftp to your machine and put the file there .
Also, why not ftp the file to your machine and tail the local file
Stanleyrx has the right idea.
Create standard file naming conventions so you will always transmit the data to the same file name(S) Then your rexx code can be boiler plate (production) and can execute against different data as the data changes. Include the header info for dates and data description. Once you get this working expand your rexx code to handle variable formats with variable number of columns.
Leonard
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.