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
 
Help needed in ISREDIT COPY command.

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

New User


Joined: 23 Dec 2009
Posts: 5
Location: United States

PostPosted: Tue Mar 02, 2010 9:42 pm    Post subject: Help needed in ISREDIT COPY command.
Reply with quote

Hi All,
I am writing a macro to copy data from another member and paste that data after the first line in my current member.

I am using ISREDIT COPY AFTER .ZCSR PARM.

Where parm has the member name from where data has to be copied.

The data is being inserted into the current member successfully.

Is there any way that we can insert the lines as NOTELINE and not as DATALINE using the copy command.


( I have actually done this by reading the member separately and then inserted the data using the LINE_BEFORE option. But then I found that we can copy the data from another member easily using COPY command.)

Thanks and Regards,
Sudhakar H V
Back to top
View user's profile Send private message

prino

Senior Member


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

PostPosted: Wed Mar 03, 2010 4:31 am    Post subject: Re: Help needed in ISREDIT COPY command.
Reply with quote

sudhakarhv wrote:
Is there any way that we can insert the lines as NOTELINE and not as DATALINE using the copy command.

No
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1243
Location: Israel

PostPosted: Wed Mar 03, 2010 4:23 pm    Post subject: Reply to: Help needed in ISREDIT COPY command.
Reply with quote

In fact, there may be a possibility, using MODELs.
I have never done that, but models can contain notes, and they will be displayed.

Then you could use the MODEL command instead of COPY in your macro.

There are instructions here: Chapter 4. Using edit models.

It's time to read and learn (I just wish I had enough time...)
Back to top
View user's profile Send private message
prino

Senior Member


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

PostPosted: Wed Mar 03, 2010 5:10 pm    Post subject: Re: Reply to: Help needed in ISREDIT COPY command.
Reply with quote

Marso wrote:
In fact, there may be a possibility, using MODELs.
I have never done that, but models can contain notes, and they will be displayed.

Then you could use the MODEL command instead of COPY in your macro.


That's not possible, as you are required to add a ')N' to lines in models that need to be displayed as =NOTE= lines. Furthermore. converting a member to be copied into MODEL format will take a hell of a lot more time than just 'execio'ing it and spitting it out as NOTELINEs
Back to top
View user's profile Send private message
sudhakarhv

New User


Joined: 23 Dec 2009
Posts: 5
Location: United States

PostPosted: Thu Mar 18, 2010 4:39 pm    Post subject: Thanks to all of you.
Reply with quote

I have used the normal method of inserting the lines using LINE_AFTER option.

And thanks to Marso, till now I am unaware above models. I have gone through the Models concepts from the link provided.
Back to top
View user's profile Send private message
Srinivas46

New User


Joined: 03 Oct 2009
Posts: 4
Location: Chennai

PostPosted: Sat Apr 10, 2010 10:28 pm    Post subject: Reply to: Help needed in ISREDIT COPY command.
Reply with quote

ISREDIT COPY AFTER .ZCSR PARM.

Is it that the PARM in the above macro should be a member of the same PDS where the edit macro exists ?

I want to copy the contents of a member present in a different PDS using the edit macro. How can this be accomplished?

I have tried the below command but was not successful:
"ISREDIT COPY AFTER .ZCSR" myid.pds.name(member1)
It ended giving an error
"Error running MACRO1, Routine not found"


Thanks,
Srinivas46 icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Sat Apr 10, 2010 10:36 pm    Post subject: Reply to: Help needed in ISREDIT COPY command.
Reply with quote

Quote:
I have tried the below command but was not successful:

did You care to look at the manuals ?
starting from ( for example )
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ISPZPM61

usually the message is a symptom of trying to run things in a wrong environment
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am

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