Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Aug 07, 2008 12:06 pm    Post subject: ISREDIT macro
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: 2360
Location: Israel

PostPosted: Thu Aug 07, 2008 12:40 pm    Post subject:
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    Post subject:
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    Post subject:
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    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 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
No new posts PCOMM macro to call another PCOMM macro boyti ko All Other Mainframe Topics 4 Tue Jul 12, 2016 4:30 pm
No new posts Send parameter for macro STIMERM from... Daniel Teolotitla PL/I & Assembler 13 Tue Jul 05, 2016 9:23 pm
No new posts RACF Easytrieve Plus macro Susan Jackson CA Products 0 Fri Jun 03, 2016 8:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us