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

ISREDIT macro


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

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Aug 07, 2008 12:06 pm
Reply with quote

Hi,
In ISREDIT macro, "PROCESSs range" command process the Line commands in the range specified for eg
ISREDIT "PROCESS RANGE C" .. this will process the user defined operation when cc is given in the line number
000001 IDENTIFICATION DIVISION.
00cc02 PROGRAM-ID. ADDPRG.
000003 ENVIRONMENT DIVISION.
00cc04 DATA DIVISION.
My question is how to give different letter combination in PROCESS RANGE like ISREDIT "PROCESS RANGE TE"
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Aug 07, 2008 12:40 pm
Reply with quote

What do you mean by "give different letter combination"? You can put up to 2 commands, each up to 6 characters, as well explained in the fine manual.

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

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Aug 07, 2008 12:55 pm
Reply with quote

HI,
I'm getting the output when i use same letter combination like CC in the line number but if i use ,for eg CUT in the range ISREDIT "PROCESS RANGE CUt" the program ends in a error.[/img]
Back to top
View user's profile Send private message
chidams78
Currently Banned

New User


Joined: 29 May 2006
Posts: 59
Location: India

PostPosted: Wed Aug 13, 2008 10:23 pm
Reply with quote

Hi all,

Using ISREDIT macro, I am searching and replacing the string in PROClibs.

For example, in the below mentioned PROC, I need to change all the occurances of string XYZ to ZPNDVR.ABC and all the occurances of ABC to ZPNDVR.ABC.

//TESTN1 PROC ENVI1='XYZ',GNBO1='XYZ',GNVR2='ABC',JNKQ2='ABC',
// ZERO='(0)',QTRERFG='(+1)',HLQAO='ZPNDVR',

On running the ISREDIT macro,

ISREDIT MACRO (PROCESS)
ISREDIT C "'XYZ'" "'ZPNDVR.XYZ'" ALL
ISREDIT C "'ABC'" "'ZPNDVR.ABC'" ALL

the strings got replaces BUT the line exceeds above 72 bytes.
Could anybody guide me how to get rid of the exceeding lien length issue

Thanks
Chidam
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 PRINTOUT macro PL/I & Assembler 0
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts Issues with executing a REXX MACRO th... TSO/ISPF 4
No new posts Facing issue in Run Edit Macro Job CLIST & REXX 9
No new posts outtrap does not capture within an ed... CLIST & REXX 1
Search our Forums:

Back to Top