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: 8798
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: 1356
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: 8798
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 All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Question regarding ISPF tables with T... TSO/ISPF 11
No new posts Problem moving a cobol program into E... COBOL Programming 3
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts SDUMPX macro fails to dump requested ... PL/I & Assembler 6
No new posts Preserve changes to ISPF Panel Variables TSO/ISPF 5
Search our Forums:


Back to Top