Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Not seeing the error panel )ATTR

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Harold Barnes

New User


Joined: 27 Oct 2015
Posts: 17
Location: United States

PostPosted: Fri Sep 20, 2019 10:56 am    Post subject: Not seeing the error panel )ATTR
Reply with quote

The error report indicates a problem with not finding what it expects after the underscore _ TYPE(INPUT)

I'm not seeing the problem.

Suggestion?


Code:
)ATTR

_ TYPE(INPUT) INTENS(LOW)
# TYPE(INPUT) INTENS(LOW) CAPS(OFF)
)BODY
%----------------------------  Employee List  -------------------------------
%Command ===>_CMDFLD                                       %Scroll ===>_amt +;
%
+   Notes ==>#NOTES
+Make changes to any information except Employee Serial:
+
+------ Employee Name -------          --- Phone ---        Employee
+Last         First        MI          Area  Number          Serial
+
)Model
_LNAME     _FNAME    _I       _PHA _PHNUM      _EMPSER
)Init
  AMT  = PAGE
)Proc
  VPUT (Notes) Profile
)End


Code:

* ISPP127
*
* Panel 'PAN1' error
* Field or area name missing following identifying attribute character.
*                                                                                                                                                     
*
* Panel line where error was detected:
*_ TYPE(INPUT) INTENS(LOW)
*
Back to top
View user's profile Send private message

Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 328
Location: Denmark

PostPosted: Fri Sep 20, 2019 2:02 pm    Post subject:
Reply with quote

Works for me, after I added an ampersand to the line 'AMT = PAGE'.
Have you checked for non-displayable characters?
Do you really have all those blank lines? Not that it matters.
Back to top
View user's profile Send private message
Harold Barnes

New User


Joined: 27 Oct 2015
Posts: 17
Location: United States

PostPosted: Fri Sep 20, 2019 11:00 pm    Post subject:
Reply with quote

WJ,

It still didn't work for me.
What did work was changing the _ to another character.

No, I don't have the blank lines. Copy/Paste gratuitously added those and I failed to notice.

I'm good because you took time to help.

Thanks!
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2255
Location: Hampshire, UK

PostPosted: Sat Sep 21, 2019 2:37 am    Post subject: Reply to: Not seeing the error panel )ATTR
Reply with quote

The extra lines are possibly caused by pasting long lines - I am not sure if you can have 80 byte lines within code tags.

I have removed the extra lines, hopefully correctly.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1331
Location: Israel

PostPosted: Sun Sep 22, 2019 1:19 pm    Post subject:
Reply with quote

Dialog Developer's Guide and Reference wrote:
If not specified explicitly with the DEFAULT keyword, the default attribute
characters are:
% (percent sign) — text (protected) field, high intensity
+ (plus sign) — text (protected) field, low intensity
_ (underscore) — input (unprotected) field, high intensity

You have to change the default if you want to use underscore for your own purpose.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Block insert (-803 Error Handling) NJDevils28 COBOL Programming 5 Mon Nov 11, 2019 7:54 pm
No new posts Adding FIND to ISPF Panel display of ... Harold Barnes TSO/ISPF 3 Mon Oct 07, 2019 5:46 pm
No new posts End the job into error / abend state wik123 JCL & VSAM 3 Wed Sep 11, 2019 6:37 pm
No new posts WER027A Error Chinnadu SYNCSORT 8 Thu Aug 29, 2019 11:58 am
No new posts ISRE771 error while invoking macros pkmurali CLIST & REXX 5 Mon Aug 26, 2019 7:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us