Hello Everyone,
I am new born to RPG. I have created a PF named PF9
Records in the PF9 are
I want to create a RPGLE program where i can remove all the numbers from the ALPHAN and move it to Numeric.
Thanks in advance for the help.
Regards
Nilesh
I am new born to RPG. I have created a PF named PF9
Code:
A UNIQUE A R RPF9 A ALPHAN 25A TEXT( 'ALPHA NUMERIC DATA') A NUMENRIC 25S 0 A K ALPHAN
Code:
Line ....+....1....+....2....+....3....+....4....+....5....+....6. ALPHAN NUMENRIC 000001 11dagaoioiwoiu817¢8263eio 0 000002 ieouyp298364 jGW*&¢732891 0 000003 ¢9oi0898ouigh83y8 0 000004 jsewhi36¬8¬ohilho9 0 000005 bdeufy86&¢kjeou3j2978 0
Thanks in advance for the help.
Regards
Nilesh
Comment