Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ERROR in Displaying the Sample Panel via REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Ramsee

New User


Joined: 06 Jan 2011
Posts: 52
Location: Chennai

PostPosted: Tue Nov 12, 2013 7:04 pm    Post subject: ERROR in Displaying the Sample Panel via REXX
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: 8593
Location: Back in jolly old England

PostPosted: Tue Nov 12, 2013 7:21 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Nov 12, 2013 8:12 pm    Post subject: Reply to: ERROR in Displaying the Sample Panel via REXX
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: 52
Location: Chennai

PostPosted: Tue Nov 12, 2013 8:14 pm    Post subject: Reply to: ERROR in Displaying the Sample Panel via REXX
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

Senior Member


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

PostPosted: Wed Nov 13, 2013 6:24 am    Post subject: Reply to: ERROR in Displaying the Sample Panel via REXX
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Iterative use of a REXX script causin... bryonyh CLIST & REXX 3 Fri Jul 28, 2017 12:52 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts Reg:Displaying the particular month o... bhavana yalavarthi All Other Mainframe Topics 4 Sat Jul 08, 2017 8:13 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us