Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
ISREDIT Macro

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
ravikanth

New User


Joined: 12 Jan 2006
Posts: 29

PostPosted: Sat Jan 15, 2011 6:13 am    Post subject: ISREDIT Macro
Reply with quote

Hi All,

I am executing a macro which edits a PDS member(Jcl) and manuplates(inserts & Deletes lines) and comes of it.

My Rexx exec will pass all the members in PDS one after the other to the Edit Macro. But For some of the members the data is saved while for others are not saved.

Just before I came out the Edit Macro, i tried to verify if the steps and the inserts are working find.

I tried the ISREDIT @VP to view the Member, it did not work but opened up the PDS member showing Macro error.

I validated PDS member and the data was manuplaced but when it processed others and finally saved the PDS.

The data was lost.

Could you tell me how I could fix this issue?

Thank You!
Ravikanth Chavali
Back to top
View user's profile Send private message

prino

Senior Member


Joined: 07 Feb 2009
Posts: 1048
Location: Oostende, Belgium

PostPosted: Sat Jan 15, 2011 6:51 am    Post subject:
Reply with quote

By given us all the code that you used, using
Code:
[code][/code]
tags.

"isredit @vp" is a site specific command, useless to tell us about it, unless you give its source.

"The data was lost."

Great, which data and when?
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2081
Location: Silicon Valley

PostPosted: Sun Jan 16, 2011 5:36 am    Post subject: Reply to: ISREDIT Macro
Reply with quote

Quote:
showing Macro error.

Show the details.
Back to top
View user's profile Send private message
ravikanth

New User


Joined: 12 Jan 2006
Posts: 29

PostPosted: Sun Jan 16, 2011 10:53 am    Post subject:
Reply with quote

Hi All,

I have called a macro from rexx as below

address ispexec "EDIT DATASET ('"outjcl"') MACRO(EDTmac)"

But the output of this Macro is not getting saved. I did a trace to make sure the macro is inserting steps. And it is.

"Save" command rc is zero.

The same macro works fine for a different member in "outjcl" pds.

Please let me know if here is anything that could be done?

thank you!
ravikanth
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sun Jan 16, 2011 4:06 pm    Post subject:
Reply with quote

It's obviously line 9 of your edit macro code icon_rolleyes.gif
Back to top
View user's profile Send private message
ravikanth

New User


Joined: 12 Jan 2006
Posts: 29

PostPosted: Mon Jan 24, 2011 4:42 am    Post subject:
Reply with quote

Thank you all for taking time!

It was a code/logic issues. The ISREDIT worked fine and save but it was later overriden.


Thanks,
Ravikanth Chavali
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jan 24, 2011 4:53 am    Post subject: Reply to: ISREDIT Macro
Reply with quote

Good to hear it is working - thank you for the update icon_smile.gif

Hopefully, you now understand that the forum had little useful for you because you provided no info for someone to use to help you.

Had you posted the requested code, someone could have replied that the macro was probably not the problem. . . And you would have gotten an answer a week ago. . .

d
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts exec macro in the end of edit anatol CLIST & REXX 1 Fri Sep 22, 2017 5:10 am
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us