Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Running a REXX exec program using ZOSMF

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Sakthi344

New User


Joined: 15 Oct 2019
Posts: 2
Location: Czech republic

PostPosted: Tue Oct 15, 2019 3:13 pm    Post subject: Running a REXX exec program using ZOSMF
Reply with quote

Hi all,
I am trying to execute a inline REXX script from ZOSMF. I can see that my rexx is executing and output is displayed in ZOSMF, but it does not go into "Completed" status. It is in the "Submitted" status and after sometime failing due to timeout error.

Code:
<workflow>
<step name="REXX-sample" optional="false">                       
    <title>sample rexx execution</title>                         
    <description>sample rexx execution</description>             
    <instructions substitution="false">sample rexx</instructions>
    <weight>1</weight>                                           
    <autoEnable>false</autoEnable>                               
    <canMarkAsFailed>false</canMarkAsFailed>                     
    <template>                                                   
        <inlineTemplate substitution="false">                     
            /* REXX */                                           
            SAY "hello World"                                           
            EXIT 0                                               
        </inlineTemplate>                                         
        <submitAs maxRc="0">TSO-UNIX-REXX</submitAs>             
        <successPattern>sample success</successPattern>           
        <failedPattern>sample fail</failedPattern>               
        <timeout>60</timeout>                                     
    </template>                                         
</step>       
</workflow>         



My Output is:

hello World
READY

After sometime it fails with timeout error.

Could anyone provide any insights on why it goes to 'SUBMITTED' status.
How to debug to see the real issue.


Thanks,
Sakthi

Coded for you - please do it yourself next time
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8505
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 15, 2019 8:15 pm    Post subject: Reply to: Running a REXX exec program using ZOSMF
Reply with quote

Have you opened a problem with IBM? If not, do so -- they can help you a lot more than this forum can. z/OSMF is complicated enough that debugging can be time-consuming.
Back to top
View user's profile Send private message
Sakthi344

New User


Joined: 15 Oct 2019
Posts: 2
Location: Czech republic

PostPosted: Fri Nov 15, 2019 7:01 pm    Post subject:
Reply with quote

Thank you for the suggestion. I am checking with people in my site to open a problem.
Back to top
View user's profile Send private message
hankoerlemans

New User


Joined: 25 Jan 2018
Posts: 20
Location: Australia

PostPosted: Tue Nov 19, 2019 9:00 am    Post subject: Reply to: Running a REXX exec program using ZOSMF
Reply with quote

I said this elsewhere.....no need for a ticket...join the slack support channel

https://www.ibm.com/developerworks/community/blogs/e0c474f8-3aad-4f01-8bca-f2c12b576ac9/entry/z_OSMF_publish_summary?lang=en
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to show the class of an ims trans... Renato Zangerolami CLIST & REXX 6 Fri Dec 06, 2019 6:50 pm
No new posts Rexx to create VSAM define statements Dinesh Mani CLIST & REXX 9 Fri Nov 29, 2019 9:26 pm
No new posts Retrieving IMS message processing reg... tneelakandan CLIST & REXX 7 Fri Nov 22, 2019 7:23 pm
No new posts Running rexx on zOS with JCL Rajesh_98 CLIST & REXX 3 Wed Nov 20, 2019 5:19 pm
No new posts Is multiple program names allowed in ... Sakthidevi PL/I & Assembler 1 Tue Nov 19, 2019 11:12 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us