IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

ERROR in Displaying the Sample Panel via REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ramsee

New User


Joined: 06 Jan 2011
Posts: 53
Location: Chennai

PostPosted: Tue Nov 12, 2013 7:04 pm
Reply with quote

Hi All,

Good Day!!


I am very new to REXX Programing and currently i am trying to populate a sample message into the SCREEN via REXX Panels but unfortunately i am getting a ERROR as below, Kindly help me to find out the mistake that i have committed in the below code.

Sample Code:
Code:

/* REXX */                                                     
"PROFILE NOPREFIX"                                             
/* LIBRARY Where the PANEL CODE is present */
"ISPEXEC LIBDEF ISPPLIB DATASET ID(USER.TEST.SOURCE.PANEL)"
"ISPEXEC ADDPOP"                                         
/* Name of the PANEL */     
"ISPEXEC DISPLAY PANEL(PANEL1)"                                 
"ISPEXEC REMPOP"                                               
"ISPEXEC LIBDEF ISPPLIB"                     
                 

PANEL Code:
Code:

)PANEL                       
/* PANEL 1 CREATED */       
)BODY WINDOW(10,5)           
+ PANEL1 +                   
+ THIS IS THE TEST PANEL     
+                           
+ GOOD BYE ...               
)END                         


Error Message:

Code:

ISPP100             
                     
Panel 'PANEL1' error
Panel not found.     
                                                                                             


Thanks in advance for your kind time on helping me.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8793
Location: Welsh Wales

PostPosted: Tue Nov 12, 2013 7:21 pm
Reply with quote

Possibly because there is no such thing as REXX panels icon_evil.gif

Is the panel library concatenated to the ISPPLIB DD

What is )PANEL - where did you find that ?
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2206
Location: Silicon Valley

PostPosted: Tue Nov 12, 2013 8:12 pm
Reply with quote

Show us the rexx trace.

What are the return codes... especially from the LIBDEF?
Back to top
View user's profile Send private message
Ramsee

New User


Joined: 06 Jan 2011
Posts: 53
Location: Chennai

PostPosted: Tue Nov 12, 2013 8:14 pm
Reply with quote

Hi Expat,

Thanks for your time!

Now i am able to run the sample pgm correctly.

CODE:
Code:

/* REXX */                                                     
"PROFILE NOPREFIX"                                             
"ISPEXEC LIBDEF ISPPLIB DATASET ID('USER.TEST.SOURCE.PANEL')"
"ISPEXEC ADDPOP"
"ISPEXEC DISPLAY PANEL(TEST)"                                   
"ISPEXEC REMPOP"                                               


Panel:
Code:

)PANEL     
/* PANEL 1 CREATED */         
)BODY WINDOW(50,5)   --> Size of the WIDGET in the window         
+ PANEL1 +     --> Name of the PANEL as "PANEL1"                               
+ THIS IS THE TEST PANEL   
+                             
+ GOOD BYE ...                 --> Test message in the WIDGET   
)END 


Output :
Code:

EsssssssssssssssssssssssssssssssssssssssssssssssssssN
e  PANEL1                                           e
e  THIS IS THE TEST PANEL                           e
e                                                   e
e  GOOD BYE ...                                     e
e                                                   e
DsssssssssssssssssssssssssssssssssssssssssssssssssssM


Thanks for the question as i tried a lot and got the output!!
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2206
Location: Silicon Valley

PostPosted: Wed Nov 13, 2013 6:24 am
Reply with quote

Quote:
What is )PANEL - where did you find that ?


)PANEL is a standard tag, but you typically only use it if you want to use keylists with this panel.
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 -> CLIST & REXX

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Getting error while xped JCL & VSAM 10
No new posts Calling Assembler from REXX PL/I & Assembler 5
No new posts REXX/CLIST tool for BCSR and EDSR CLIST & REXX 2
This topic is locked: you cannot edit posts or make replies. Sample CICS Webservices Program CICS 1
No new posts Calling Rexx program from Cobol CLIST & REXX 12

Back to Top