×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

varible length map field ?

varible length map field ?

varible length map field ?

(OP)
I have a field in the middle of my map that can dashes in various places depending on certain parameters.  How can I do this without creating 50 maps?

RE: varible length map field ?

If you mean that the 'field' can actually be multiple fields, (because you want the dashes to be protected on screen) then it's more difficult.

You can define it as a big field, allow any kind of typing to be input, reformat it programatically, and then redisplay the map with the dashes in the right place. This doesn't allow for protection though.

You can set up several maps, one for the top of the page, one for the bottom, and a series of different maps for the problem field. You can then use the ACCUM on the send map to send a composite map to the screen, changing the map on the middle section according to circumstances. This at least isolates the changes and avoids you having to amend 50 maps when the user wants an enhancement later on. But you have to know what the format is going to be before you send the map, i.e. if your screen has "Enter type:" at the top and the problem field has "Enter value:", then if the format of 'value' depends on what the user keys into 'type', you are out of luck. The 3270 is a dumb terminal, and you can't reformat the display on the fly without a round trip to CICS to redraw the screen.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close