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
 

 

ISPF table is not displayed properly

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

New User


Joined: 29 Nov 2006
Posts: 8
Location: India

PostPosted: Thu Aug 28, 2008 10:44 am    Post subject: ISPF table is not displayed properly
Reply with quote

Hello,

I am trying to display the contents of a table using TBDISPL

Here is the relevant PANEL description

Code:

~**%&ZDATE \=\  ------  \=\%$USER:%&ZUSER~**           
%COMMASD ==>_ZCMD                                                       
+                                                     ~MM $/~DD$/~YY$   
+     $TICKET _Z      $                    $OPENED   : _Z $/_Z $/_Z $   
+                                          $UPDATED  : _Z $/_Z $/_Z $   
      $STATUS _Z$                                                       
+                                                                       
+$----------------------------------------------------------------------
)MODEL ROWS(SCAN)                                                       
+ _S$&TICKETNO$&OPNDATE$&UPDDATE$&SDESC1                               
+                               $&SDESC2                               
)INIT                                                                   
   .ZVARS = '(TICKETNO OPMM OPDD OPYY UPMM UPDD UPYY STATUS)'           
                                                                       
)PROC                                                                   
                                                                       
                                                                       
)END                                                                   


Here is the REXX CODE invoking the table

Code:

ADDRESS ISPEXEC                               
TICKETNO = 'T*'                               
"TBOPEN TCKTMSTR"                             
"TBSARG TCKTMSTR NEXT NAMECOND(TICKETNO,EQ)" 
"TBSCAN TCKTMSTR"                             
"TBDISPL TCKTMSTR PANEL(PNLTCKET)"           
"TBCLOSE TCKTMSTR NEWCOPY"                   


Table contains 2 records T1111111 and T2222222.

But my panel displays 2 records for key T1111111 as below

Code:

                                                       MM  / DD / YY           
       TICKET  T111111                      OPENED   :  __ / __ / __           
                                            UPDATED  :  __ / __ / __           
       STATUS  A                                                               
                                                                               
  ------------------------------------------------------------------------------
   _ T1111111  11/03/08 11/04/08 SAMPLE 1                                       
                                 SAMPLE 2                                       
   _ T1111111  11/03/08 11/04/08 SAMPLE 1                                       
                                 SAMPLE 2                                       
 ******************************* Bottom of data ********************************


Can anyone tell me, what I am missing here.
Back to top
View user's profile Send private message

Pedro

Senior Member


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

PostPosted: Thu Aug 28, 2008 9:40 pm    Post subject: Reply to: ISPF table is not displayed properly
Reply with quote

Can you show your )ATTR section?
Back to top
View user's profile Send private message
Neilabh

New User


Joined: 29 Nov 2006
Posts: 8
Location: India

PostPosted: Fri Aug 29, 2008 8:37 am    Post subject:
Reply with quote

Thanks Pedro for the reply. Here is the )ATTR section.
Code:

)ATTR DEFAULT(%+_)                                                     
_ TYPE(INPUT)  INTENS(HIGH) CAPS(ON) JUST(LEFT) COLOR(GREEN) PAD(_)     
% TYPE(TEXT)   INTENS(HIGH)                                             
+ TYPE(TEXT)   INTENS(LOW)  SKIP(ON)                                   
# TYPE(TEXT)   INTENS(LOW)  SKIP(ON) COLOR(WHITE)                       
~ TYPE(TEXT)   INTENS(HIGH) CAPS(OFF) COLOR(BLUE)                       
} TYPE(TEXT)   INTENS(HIGH) SKIP(ON) COLOR(YELLOW)                     
$ TYPE(TEXT)   INTENS(LOW)  SKIP(ON) COLOR(TURQ) CAPS(ON)               
@ TYPE(TEXT)   INTENS(HIGH) SKIP(ON) COLOR(GREEN)                       
! TYPE(TEXT)   INTENS(LOW)  SKIP(ON) COLOR(RED)                         
Back to top
View user's profile Send private message
Neilabh

New User


Joined: 29 Nov 2006
Posts: 8
Location: India

PostPosted: Fri Aug 29, 2008 11:22 am    Post subject:
Reply with quote

Hey Pedro, I got the point. I have changed the type from TEXT to OUTPUT for those table variables.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Fri Aug 29, 2008 9:17 pm    Post subject: Reply to: ISPF table is not displayed properly
Reply with quote

I was not ready to make the point yet, but glad you found it right away.
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 Loading data to table gives wrong for... Raghu navaikulam DB2 16 Thu Jul 13, 2017 2:11 pm
No new posts unload data from table with lob columns farhad_evan DB2 1 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


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