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

how to find string in the end of a variable


IBM Mainframe Forums -> FAQ & Basics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
amirberner

New User


Joined: 14 Oct 2021
Posts: 2
Location: israel

PostPosted: Thu Oct 14, 2021 5:54 pm
Reply with quote

HI,
I have a Variable x(13) and I need to find if positions 11-13 contain a combination, for example 'com', how would you do it?
Thanks
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3076
Location: NYC,USA

PostPosted: Thu Oct 14, 2021 7:59 pm
Reply with quote

INPECT or use Ref Modification. Moved to Student Forum.
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 -> FAQ & Basics

 


Similar Topics
Topic Forum Replies
No new posts Copy only TEXT or String from a record SYNCSORT 4
No new posts REXX/CMS How to place command console... CLIST & REXX 4
No new posts ICETOOL to SUM String DFSORT/ICETOOL 1
No new posts Mark Previous & next lines when a... DFSORT/ICETOOL 9
No new posts CA7 count with DATE variable CA Products 0
Search our Forums:

Back to Top