Highlight source text

pts.
Tags:
AS/400
How do I highlight or change color of source text when using a PC with immulator instead of a green screen terminal?

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • BigKat
    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
    8,210 pointsBadges:
    report
  • Vatchy
    "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.
    1,410 pointsBadges:
    report
  • Cwc
    ^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.
    4,290 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following