Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Provide me a working EXECIO command

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

New User


Joined: 04 May 2007
Posts: 58
Location: Manila, Philippines

PostPosted: Tue Sep 11, 2007 8:20 am    Post subject: Provide me a working EXECIO command
Reply with quote

Hello,

I have a REXX program which has the following commands:


ALTERDS = TST || USERID || '.' || DBNAME || '.ALTERS$#'

"ALLOC FILE(ISPFILE) DS('" || ALTERDS || "') MOD CATALOG ",
"DSORG(PS) RECFM(F,B) SPACE(1,1) TRACKS LRECL(80) BLKSIZE(27920)"

STRLINE = 'ALTER TABLESPACE ' DBNAME '.' TSNAME.I

I tried the following:
"EXECIO * DISKW ISPFILE (VAR STRLINE"
to write to the output file but it does not work.

Can someone provide me with a working EXECIO command to write
to the output file?


Regards.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Sep 11, 2007 10:03 am    Post subject:
Reply with quote

Have you tried the fine manual?

O.
Back to top
View user's profile Send private message
saiprasadh

Active User


Joined: 20 Sep 2006
Posts: 154
Location: US

PostPosted: Tue Sep 11, 2007 10:16 am    Post subject:
Reply with quote

Hi,
Can you change the REXX code like this and try,

Code:
STRLINE.1 = 'ALTER TABLESPACE ' DBNAME '.' TSNAME.I
"EXECIO * DISKW ISPFILE (STEM STRLINE. FINIS"

 OR

STRLINE = 'ALTER TABLESPACE ' DBNAME '.' TSNAME.I
QUEUE STRLINE
"EXECIO 1 DISKW ISPFILE (FINIS"


Let me know if doesn't work's

Thanks
Sai
Back to top
View user's profile Send private message
Raphael Bacay

New User


Joined: 04 May 2007
Posts: 58
Location: Manila, Philippines

PostPosted: Tue Sep 11, 2007 3:39 pm    Post subject: Reply to: EXECIO QUESTION
Reply with quote

Thanks! I finally got it.

Regards.
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 TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us