I am working on a project that would allow our application to more efficiently search through instances(rows on a table). This is current process:
Var ptr is pointer to MessageRefQry
Var ptrs is list of pointer to MessageRefQry
ptrs = LIST(currentclass,LIST_ALL)
FOR ptrs,ptr
IF iMsgNum =...
I have never tried this so I don't know if it will work but it appears that you can use a Date statement in the select statement. I got this off of code400.com
SQLRPGLE - Some date processing with SQL
SQL Date Support
This query produces these results:
Order No. Ship Date
1...
I don't think I am understanding the substring function. I want to place the first name, middle initial, last name, and designation in a separate bucket. Your code helped me place the first name in a buckets. I tried to use your example to place the middle initial in other bucket.
BegSr...
I decided to tackle the task of converting a COBOL pgm to RPG IV (Free format). I am trying to break unstrung variable into strung variables. For example: 'Susan E Gantner MD' is being returned as 'Susan E Gantner'. I just want 'Susan'.
BegSr UnstringPrvdr...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.