Display File – error message

30 pts.
Tags:
Display File
DSPF
i have a error message of length 55. bt the window size is say 30..which means the window cannot hold the enitre msg and hence the error message needs to be split up.. how do i split up the error message.. hw and where should i need to make the modifications.

Answer Wiki

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

If you’re using a error subfile you could write the message to two records – the user would have to page down to see the second half. I don’t think there is a solution from ERRMSG or ERRMSGID. Write a shorter error message.

Phil

Hi

one of my team mate helped me out.
U can give teh keyword ‘CNTFLD’ (Continutiy field) against the error message field. but this keyword can be used only when the field is declared in both mode. 30 indicates that the first line will contain 30 characters and rest in the next line.
it looks like this..

A MSGA 55 B 10 22
A CNTFLD(30)

Anyways thanks for ur ans.

Discuss This Question: 2  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
  • Sloopy
    If this is a 'proper' message subfile, then it will support the Help key to display second-level message text. You can write a shorter first-level text, with a standardised convention for showing that there is more text available if the HELP key is pressed (when the cursor is on the message). EG: Country code is invalid (more) or Country code is invalid (HELP) or Country code is invalid... or Country code is invalid (Alt | F1) The second-level text for the message can carry the more detailed information, and can include substitution parameters like the First-level text. Regards, Sloopy (Alt | F1)
    2,195 pointsBadges:
    report
  • Yorkshireman
    - - - - - - - - - - - - - - - - - - - The convention is for F1 to be help. cursor on the message, press F1, and you see the 2500 bytes of second level message - or is it 5000 - I've never un out of space anyway. You can also include variables into the message - do, please, use this facility. 'Country code is invalid +' 'The country code ABCDE you entered is not valid for a GHIJK transaction. Or, you selected a country code which is oncorrect' You may alter the transaction type, or re enter the country code. Yorkshireman
    5,580 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