|
|
Change parameters using modify mvs command
Hi,
I am running a REXX program as a started task(batch job).(Z/OS)
I want to pass parameters/commands to it using F jobname,parameters
from the MVS console. What code i need in REXX (or C if its not
possible in REXX) to do this?
Thanks,
Mukesh.
|
|
0
|
|
|
|
Reply
|
msabnis1
|
8/6/2003 9:12:53 AM |
|
In <6678e873.0308060112.34d37e5e@posting.google.com>, on 08/06/2003
at 02:12 AM, msabnis1@yahoo.com (Mukesh) said:
>I want to pass parameters/commands to it using F jobname,parameters
>from the MVS console. What code i need in REXX (or C if its not
>possible in REXX) to do this?
You'll need to write a command or function in assembler. See the TSO/E
bookshelf for the REXX documentation and the z/OS bookshelf for the
QEDIT documentation. The IBM-MAIN list is a better place for this sort
of question, since it is platform specific.
Basically what your routine needs to do is:
1. For an initialization call, issue QEDIT to allow MODIFY.
If there is a START CIB, parse and return any parameters.
Issue QEDIT to delete the START CIB.
2. For a processing call, test whether there is a CIB queued;
if there is, parse and return any parameters, along with the
verb code. Issue QEDIT to delete the CIB.
I could write this for you if you want to pay for my time, but I'd
advise that you do it yourself as a learning experience.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Any unsolicited bulk E-mail will be subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail.
Reply to domain Patriot dot net user shmuel+news to contact me. Do not reply
to spamtrap@library.lspace.org
|
|
0
|
|
|
|
Reply
|
Shmuel
|
8/6/2003 4:03:55 PM
|
|
Thanks a lot Seymour.
I got the assembler program from mainframeweek to do this. And it is working fine.
Cheers,
Mukesh.
|
|
0
|
|
|
|
Reply
|
msabnis1
|
8/12/2003 10:22:38 AM
|
|
|
2 Replies
559 Views
(page loaded in 0.056 seconds)
|
|
|
|
|
|
|
|
|