@Bhabani's Blog
This blog contains all AS/400 related documents ,Links and interview questions.
Monday, 17 October 2011
RPGLE - %Scan and replace example
RPGLE - %Scan and replace example
* * Free of Charge *
C eval str = %scan('FOC="' : items(z))
C if str > 0 C eval str = str + 5
C '"' scan items(z):str end
C eval len = (end - str)
C eval OLFOCC = %subst(items(z) : str : len)
C endif
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment