IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Not seeing the error panel )ATTR


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Harold Barnes

New User


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

PostPosted: Fri Sep 20, 2019 10:56 am
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: 497
Location: Denmark

PostPosted: Fri Sep 20, 2019 2:02 pm
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: 33
Location: United States

PostPosted: Fri Sep 20, 2019 11:00 pm
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: 2455
Location: Hampshire, UK

PostPosted: Sat Sep 21, 2019 2:37 am
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: 1350
Location: Israel

PostPosted: Sun Sep 22, 2019 1:19 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts VB file copy COBOL program gives erro... COBOL Programming 3
No new posts AUTHORIZED database error in HALDB IMS DB/DC 2
No new posts Issue with CA Copycat-IGD17100I UNEXP... CA Products 5
No new posts Getting error S000 U0016 (Cn Internal... JCL & VSAM 4
No new posts Getting OUTREC - SHORT REC error for ... DFSORT/ICETOOL 12
Search our Forums:

Back to Top