|
View previous topic :: View next topic
|
| Author |
Message |
tecnokrat Warnings : 1 Active User

Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
Hi,
I'm facing problem in submitting a JOB thru the REXX program.
| Code: |
SELECT
WHEN REGION = DEV1 THEN SUBMIT 'MYID.REXXPGMS(MEM1)'
WHEN REGION = DEV2 THEN SUBMIT 'MYID.REXXPGMS(MEM2)'
WHEN REGION = TEST THEN SUBMIT 'MYID.REXXPGMS(MEM3)'
END
|
When the rexx reaches this statement it gives me RC(12)
with the following message
| Quote: |
| IKJ56269I DATA SET MYID.REXXPGMS NOT FOUND |
Do i need to open the dataset before the submit command is reached or is it ok with if the Dataset is not opened with any exclusive command. |
|
| Back to top |
|
 |
vasanthz
Global Moderator

Joined: 28 Aug 2007 Posts: 1753 Location: Tirupur, India
|
|
|
|
Hi,
Try this out.
| Code: |
| THEN ADDRESS TSO "SUBMIT 'MYID.REXXPGMS(MEM1)'" |
Hope it helps. |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
| SUBMIT is a TSO command, not a REXX instruction. Didn't that statement look odd to you in your ISPF Editor? |
|
| Back to top |
|
 |
tecnokrat Warnings : 1 Active User

Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
Thanks Vasanthz !!!! it worked.  |
|
| Back to top |
|
 |
|
|