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: 1
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: 2792
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 Make cobol variable value a variable COBOL Programming 3
No new posts Multiple find/replace on the same dat... DFSORT/ICETOOL 4
No new posts Merge a variable number of records fr... DFSORT/ICETOOL 5
No new posts Trying to reference a javascript glob... CLIST & REXX 7
No new posts Cobol code- to find a string in a str... COBOL Programming 3
Search our Forums:

Back to Top