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
 
Problem while using C ALL

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

New User


Joined: 08 Jul 2008
Posts: 37
Location: bangy

PostPosted: Fri Aug 01, 2008 8:11 pm    Post subject: Problem while using C ALL
Reply with quote

How do we check for the return code ISREDIT ? Actually I want to change some literals say 'A' to 'B' after Procedure division. I'm finding for the Procedure division and then doing a C ALL. But its changing all the literals 'A' in the program. I want only the one that's occuring after PROCEDURE DIVISION.

Thanks,
Paul
Back to top
View user's profile Send private message

Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Aug 01, 2008 9:57 pm    Post subject:
Reply with quote

I don't have an example, but you can assign line labels and then specify the range on the change command.

find PROCEDURE and assign label .A
go to last line and assign label .B
do a C 'A' 'B' ALL .A .B
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Fri Aug 01, 2008 9:59 pm    Post subject: Reply to: Problem while using C ALL
Reply with quote

CHANGE ALL, really means change all. I am not sure why you would expect it to automatically skip some.

Use labels to narrow the scope of the change, something like this:
Code:
"macro"
"FIND 'PROCEDURE DIVISION'"
"C  'A' 'B'   .zcsr .zlast  ALL"
Back to top
View user's profile Send private message
Paul1983

New User


Joined: 08 Jul 2008
Posts: 37
Location: bangy

PostPosted: Sat Aug 02, 2008 4:58 pm    Post subject:
Reply with quote

Thanks a lot for the information

Thanks & Regards,
Paul
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 Having a problem FTP'ng to the MF pahiker All Other Mainframe Topics 2 Fri Nov 10, 2017 8:20 pm
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Problem commiting to DB2 from IMS MPP Ole Soerensen IMS DB/DC 2 Wed Jul 26, 2017 5:19 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm

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