Run a REXX program in background



IBM's Command List programming language & Restructured Extended Executor

Run a REXX program in background

Postby syamcs » Thu Feb 24, 2011 5:34 pm

Is it possible to run a REXX program in background, if so how to execute it please explain :oops:
syamcs
 
Posts: 56
Joined: Thu Feb 10, 2011 5:36 pm
Location: chennai
Has thanked: 0 time
Been thanked: 0 time

Re: background rexx

Postby Robert Sample » Thu Feb 24, 2011 5:42 pm

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?
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: background rexx

Postby MrSpock » Thu Feb 24, 2011 5:46 pm

User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: background rexx

Postby syamcs » Thu Feb 24, 2011 5:53 pm

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.
syamcs
 
Posts: 56
Joined: Thu Feb 10, 2011 5:36 pm
Location: chennai
Has thanked: 0 time
Been thanked: 0 time

Re: background rexx

Postby stevexff » Thu Feb 24, 2011 6:06 pm

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...
Steve
stevexff
 
Posts: 56
Joined: Wed Nov 10, 2010 7:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: background rexx

Postby syamcs » Thu Feb 24, 2011 6:12 pm

sorry its invoked. that is if it is executed that rexx program has to run for continousily in background
syamcs
 
Posts: 56
Joined: Thu Feb 10, 2011 5:36 pm
Location: chennai
Has thanked: 0 time
Been thanked: 0 time

Re: background rexx

Postby Robert Sample » Thu Feb 24, 2011 6:44 pm

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!
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: background rexx

Postby syamcs » Thu Feb 24, 2011 8:15 pm

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.
syamcs
 
Posts: 56
Joined: Thu Feb 10, 2011 5:36 pm
Location: chennai
Has thanked: 0 time
Been thanked: 0 time

Re: background rexx

Postby enrico-sorichetti » Thu Feb 24, 2011 8:20 pm

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!
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: background rexx

Postby syamcs » Thu Feb 24, 2011 8:34 pm

thank you... for your suggestion...
but this was an assignment given to me.....
syamcs
 
Posts: 56
Joined: Thu Feb 10, 2011 5:36 pm
Location: chennai
Has thanked: 0 time
Been thanked: 0 time

Next

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post