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

ISPF Macro problem


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
senthil1711
Warnings : 1

New User


Joined: 27 Feb 2008
Posts: 10
Location: bangalore

PostPosted: Thu Mar 06, 2008 12:04 pm
Reply with quote

hi,

I tried to execute the macro using the below satement.

address ispexec "edit dataset("ds") macro(mac1)"

but it is not working for intended dataset given in 'ds'. instead it operates on the dataset which contains the REXX code that invokes it.

wat to do..?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 06, 2008 1:07 pm
Reply with quote

DO NOT post a new topic onto an existing one -
That is why you have been issued a warning


Have you tried running with TRACE to see why this happens ?
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Thu Mar 06, 2008 5:08 pm
Reply with quote

Show us also what you have in ds.
Maybe there is only a member name in that variable?
Back to top
View user's profile Send private message
senthil1711
Warnings : 1

New User


Joined: 27 Feb 2008
Posts: 10
Location: bangalore

PostPosted: Fri Mar 07, 2008 10:53 am
Reply with quote

hi marso

I gave a PS file name in 'ds'..

ds = 'userid.work.output'

I have moved my entire REXX EXECs to SYSPROC.

Do i want to move the PS file 'userid.work.output' to SYSPROC..?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Mar 07, 2008 1:01 pm
Reply with quote

Once more I ask the same question - - -

Have you tried running with TRACE to see why this happens ?

Quote:
Do i want to move the PS file 'userid.work.output' to SYSPROC..?

Answer NO
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top