Add one TSO Command "EXEC"

Ask/Clarify the questions on TSO, CLIST & REXX

Moderators: Veera, Moderator Group

Post Reply
Dust
Member
Posts: 2
Joined: Tue Nov 08, 2011 3:35 pm
Location: China-Shanghai

Add one TSO Command "EXEC"

Post by Dust » Mon Dec 17, 2012 9:32 pm

When i edit an REXX program. I want to input the "EXEC" on the command line to exexute it.
How should I add the "EXEC" command?
Write a program by CLIST or REXX?
Could you please tell me the process how to add one TSO Command?
Or give me a direction.

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Dec 19, 2012 3:22 am

Please clarify your request. I do not understand what you are asking.

If you have a REXX program and you want to execute it, simply execute it from the command line.

I'm not sure where you might "add" the EXEC statement.
Have a good one

Dust
Member
Posts: 2
Joined: Tue Nov 08, 2011 3:35 pm
Location: China-Shanghai

Post by Dust » Wed Dec 19, 2012 6:23 pm

DikDude wrote:Please clarify your request. I do not understand what you are asking.

If you have a REXX program and you want to execute it, simply execute it from the command line.

I'm not sure where you might "add" the EXEC statement.

Code: Select all

EDIT       XXXXXXX.TOOLS.REXX(BRCM) - 01.00              
Command ===> EXEC                                     
****** ***************************** Top of Data ********
000001 /*                     REXX                       
000002 SAY "HEY! WHAT'S GOING ON?"                       
000003 EXIT                                              
****** **************************** Bottom of Data ******
I don't know how to add a image in the forum.
As show above. When i edit a Rexx program. I want to type the EXEC command, then type Enter key, the REXX program is executed.
How can i add this "EXEC" command?

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Thu Dec 20, 2012 12:58 am

Please do NOT add an image - it is harder to read and takes more space. Your post has been "Code'd". This is done by highlighting the "code" and clicking the Code tag. Also, when posting Coded items, the colors do not work.

You can type EXEC BRCM if the tools.rexx pds is in the concatanation.
Have a good one

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others