Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2086
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: 2086
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm

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