What emulator are you using? (iSeries Access,TN5250, RUMBA)
========================================================
The simplest and by far best way is to use an editor that does it for you, e.g., WDSC or RDi. Do <b>not</b> modify bytes in source code to trick display files into thinking that display attributes are in undefined fied positions on the screen.
Sooner or later, your source code will need to be processed by a second system. You might get a separate development system, or you might actually migrate to using a PC editor such as WDSC. It will happen.
When it does, you are not going to want control characters scattered through your source code.
Tom
Last Wiki Answer Submitted: December 13, 2009 12:15 pm by Drich4000 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
In Client Access, you can map the keyboard so that for example Ctrl-B will make Blue text. Simply map the value apl 3a to the Ctrl key option for the B key. This is an internal macro in CA that says to map the following value to the application.
w=apl 22
rw=apl 23
uw=apl 26
r=apl 28
rr=apl 29
ur=apl 2c
t=apl 30
rt=apl 31
ut=apl 34
y=apl 32
ry=apl 33
uy=apl 36
p=apl 38
rp=apl 39
up=apl 3c
g=apl 20
rg=apl 21
ug=apl 24
b=apl 3a
rb=apl 3b
ub=apl 3e
^^
||
|+– w = white
| r = red
| t = turquoise
| y = yellow
| p = pink
| g = green
| b = blue
|
+— r = reverse
u = underline
“or you might actually migrate to using a PC editor such as WDSC. It will happen.”
I wouldn’t bet on that. I’ve run into two sets of programmers (at two different companies in two different countries) that are stuck on RPG III with absolutely no interest in learning anything newer. I was a contractor and at the first one, they actually paid me to come back and convert my /Free & embedded SQL programs back into straight RPG III with no SQL. The second company has gone into bankruptcy but the last I heard from a local programmer (not at the corporate office) was that they wanted him to change four years of my programming plus almost four years of his and another programmer’s programs back to RPG III without SQL.
^Vatchy, I bet converting modern RPG into ancient RPG was painful. I think such attitudes and mindsets are contributing to the declining popularity of RPG for new development. When people want to remain stuck in the ’80s and early ’90s, and don’t want to progress at all, I have little respect for their professional judgment and technical ability. It’s like they’re wanting to drag down the reputation and perception of the platform down with them.
In Client Access, you can map the keyboard so that for example Ctrl-B will make Blue text. Simply map the value apl 3a to the Ctrl key option for the B key. This is an internal macro in CA that says to map the following value to the application.
w=apl 22
rw=apl 23
uw=apl 26
r=apl 28
rr=apl 29
ur=apl 2c
t=apl 30
rt=apl 31
ut=apl 34
y=apl 32
ry=apl 33
uy=apl 36
p=apl 38
rp=apl 39
up=apl 3c
g=apl 20
rg=apl 21
ug=apl 24
b=apl 3a
rb=apl 3b
ub=apl 3e
^^
||
|+– w = white
| r = red
| t = turquoise
| y = yellow
| p = pink
| g = green
| b = blue
|
+— r = reverse
u = underline
“or you might actually migrate to using a PC editor such as WDSC. It will happen.”
I wouldn’t bet on that. I’ve run into two sets of programmers (at two different companies in two different countries) that are stuck on RPG III with absolutely no interest in learning anything newer. I was a contractor and at the first one, they actually paid me to come back and convert my /Free & embedded SQL programs back into straight RPG III with no SQL. The second company has gone into bankruptcy but the last I heard from a local programmer (not at the corporate office) was that they wanted him to change four years of my programming plus almost four years of his and another programmer’s programs back to RPG III without SQL.
^Vatchy, I bet converting modern RPG into ancient RPG was painful. I think such attitudes and mindsets are contributing to the declining popularity of RPG for new development. When people want to remain stuck in the ’80s and early ’90s, and don’t want to progress at all, I have little respect for their professional judgment and technical ability. It’s like they’re wanting to drag down the reputation and perception of the platform down with them.