IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Running a REXX exec program using ZOSMF


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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: 8569
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 15, 2019 8:15 pm
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
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: 30
Location: Australia

PostPosted: Tue Nov 19, 2019 9:00 am
Reply with quote

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

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Any examples of calling FTP from REXX? CLIST & REXX 1
No new posts SummeRx: a new framework for REXX z/OS CLIST & REXX 6
No new posts A command to change LRECL of an exist... JCL & VSAM 7
This topic is locked: you cannot edit posts or make replies. Passing a field name to COBOL program COBOL Programming 10
No new posts Using REXX to access SDSF; What am I ... CLIST & REXX 38
Search our Forums:

Back to Top