IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

What are the string operations

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> NATURAL & MQSERIES
View previous topic :: View next topic  
Author Message
sriram_srec



Joined: 15 Sep 2005
Posts: 11
Location: Chennai

Posted: Tue Jan 24, 2006 11:42 am    Post subject: What are the string operations  

What are various string operations in NATURAL like Mid$ and InStr$ in VB
Back to top  
naveen_desireddy



Joined: 29 Aug 2005
Posts: 9
Location: Hyderabad, India

Posted: Tue Jan 24, 2006 12:27 pm    Post subject: Re: What are the string operations  

Hi,


String Operations


Examine(Will help U in giving No of occurances of an Alphabet or No in a particular string and To find length,U can Replace or Delete a particular Word in string and also to find position ) , Compress( To compress the More than two Strings into one)
Back to top  
ofer71



Joined: 27 Dec 2005
Posts: 1959
Location: Israel

Posted: Tue Jan 24, 2006 2:06 pm    Post subject:  

This is one of the weaknesses of NATURAL - It doesn't have string manipulation functions like in REXX or VB.
EXAMINE, EXAMINE TRANSLATE, COMPRESS, SEPARATE & MOVE SUBSTRING are the most you can get. Also, you have the MASK & PATTERN options of IF.

O.
Back to top  
koolbuddy



Joined: 24 Jan 2006
Posts: 3
Location: Chennai

Posted: Tue Jan 24, 2006 2:12 pm    Post subject: Re: What are the string operations  

Thanks for all your replies.

Cheers!!!
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> NATURAL & MQSERIES
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM