Problem solve Get help with specific problems with your technologies, process and projects.

Window and orphan control of the editing functions

Users key in comments for line items with each comment -- 59 characters in length and unlimited number of comments for the line (using subfile processing). We want to be able to key on the screen as if they were keying in a word document, so that it wraps if the 59th character is in the middle of a word. How can this be done using DDS?
Unless you are going to write a direct screen editor using an internally defined display file, there is no way in 5250 data streams to do what you are asking to do. If I understand you correctly, you are asking for window and orphan control of the editing functions. By that I mean if the user enters a word and the word "WRAPS" to the next line, you want to move the entire word to the next line and allow the user to continue to type without regard to pressing the enter or tab keys.

There isn't a way to do this using DDS because the screen is independent of the program processing the screen. The only time the data is transmitted from the user's screen back to the processing program using 5250 data streams is when the user presses the "enter" or another function key or the attention key.


The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

Dig Deeper on iSeries COBOL programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.