Page 1 of 2

Run a REXX program in background

PostPosted: Thu Feb 24, 2011 5:34 pm
by syamcs
Is it possible to run a REXX program in background, if so how to execute it please explain :oops:

Re: background rexx

PostPosted: Thu Feb 24, 2011 5:42 pm
by Robert Sample
Terminology is critical in IT, where similar terms may mean very different things. Your term "background" is not clear. Are you talking about :

1. running a batch job under z/OS that will execute a REXX program?

2. running a Unix System Services background task that will execute a REXX program?

3. invoking the REXX program in some other way?

Re: background rexx

PostPosted: Thu Feb 24, 2011 5:46 pm
by MrSpock

Re: background rexx

PostPosted: Thu Feb 24, 2011 5:53 pm
by syamcs
i want a rexx job to be executed in background that will check the volume status,ie once it is revoked it has to run continousily in background.

Re: background rexx

PostPosted: Thu Feb 24, 2011 6:06 pm
by stevexff
Now I think I'm even more confused. Did you mean 'invoked' rather than 'revoked'?

Why don't you lell us what you are trying to achieve, rather than how you are trying to do it? Then we can advise you of the simplest and most appropriate way to do it. Which may not be REXX at all...

Re: background rexx

PostPosted: Thu Feb 24, 2011 6:12 pm
by syamcs
sorry its invoked. that is if it is executed that rexx program has to run for continousily in background

Re: background rexx

PostPosted: Thu Feb 24, 2011 6:44 pm
by Robert Sample
it has to run continousily in background.
On a mainframe this is a started task. It is extremely unlikely that your REXX code will run as a started task, which has very strict guidelines as to how they are written and used.

Perhaps you wuold be better served by telling us WHAT you want to do, not HOW you want to do it. 99.999% of the time when someone posts here that they want something to run continuously, it is because they do not understand the mainframe environment and do not realize that running something continuously on a mainframe is a BAD IDEA!

Re: background rexx

PostPosted: Thu Feb 24, 2011 8:15 pm
by syamcs
sorry..... if i have mentioned any thing wrong....
my requirement is to create a rexx tool to check the amount of space utilized by a particular volume and this tool should check the volume.

Re: background rexx

PostPosted: Thu Feb 24, 2011 8:20 pm
by enrico-sorichetti
my requirement is to create a rexx tool to check the amount of space utilized by a particular volume and this tool should check the volume.

the only result of the requirement is to waste resources
if somebody in your organization had received a less than minimum storage administration training
he/she should know that the requirement can be met by using ISMF!

no waste of resources, no reinventing the wheel!

Re: background rexx

PostPosted: Thu Feb 24, 2011 8:34 pm
by syamcs
thank you... for your suggestion...
but this was an assignment given to me.....