I'm doing assignments of Programming in RPG IV by Jim Buck, version 4. (Free format C specs, fixed everything else). And I'm trying to do this with O specs. My trouble is at line 1. I can't do it. The dates on the UDATE just keeps supressing the Zeroes. And the page number. I did set it to ' 0 ' I'm expecting it to be a 01 for page one instead of a suppressed 1.
Program code:
Output:
Program code:
PHP Code:
OFilename++DF..N01N02N03Excnam++++B++A++Sb+Sa+.............................Comments++++++++++++
OQPRINT E Headings 2 1
O..............N01N02N03Field+++++++++YB.End++PConstant/editword/DTformat++Comments++++++++++++
O UDATE 8 ' / / '
O 119 'Page'
O PAGE 124 ' 0 '
Output:
Code:
[FONT=lucida sans unicode]*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1....+....2....+....3 2/11/20 Page 1 [/FONT]
Comment