How to add a column in ISPF Table?



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

How to add a column in ISPF Table?

Postby mainframegeek » Wed Nov 21, 2012 1:05 am

I need to add a column to ISPF Tables.
Can anyone help me on this.
mainframegeek
 
Posts: 35
Joined: Sun Sep 16, 2012 1:57 pm
Has thanked: 3 times
Been thanked: 0 time

Re: How to add a column in ISPF Table?

Postby enrico-sorichetti » Wed Nov 21, 2012 1:14 am

Can anyone help me on this.

NO!
if You do not like YES/NO answers do not ask YES/NO questions :mrgreen:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: How to add a column in ISPF Table?

Postby mainframegeek » Wed Nov 21, 2012 1:22 am

Can anyone provide manuals related to ISPF tables.
I tried using 3.16 option, with that we can only add rows to table. Is there any option in ISPF facility to do this?
mainframegeek
 
Posts: 35
Joined: Sun Sep 16, 2012 1:57 pm
Has thanked: 3 times
Been thanked: 0 time

Re: How to add a column in ISPF Table?

Postby enrico-sorichetti » Wed Nov 21, 2012 1:26 am

start from here and navigate to the ISPF bookshelf for Your zOS level
http://www-03.ibm.com/systems/z/os/zos/ ... index.html

the link has been posted already at least novemtrigintillions times
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: How to add a column in ISPF Table?

Postby Pedro » Wed Nov 28, 2012 3:28 am

Is there any option in ISPF facility to do this?

I do not believe there is an ISPF facility to add a column to a table.

I suggest:
1. make a copy of the PDS member
2. open the existing table
3. traverse the table and save each row / variable to a rexx stem variable.
4. delete the old table
5. create a new table that includes the new column.
6. traverse the rexx stem and add rows to the new ISPF table.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: How to add a column in ISPF Table?

Postby Akatsukami » Wed Nov 28, 2012 4:07 am

Pedro wrote:
Is there any option in ISPF facility to do this?

I do not believe there is an ISPF facility to add a column to a table.

I am confident that this is the case. You can, of course, add the new variables as extension variables to each row (my shop has tools that create tables with no regular variables, only extension variables) but in the great majority of cases this is more trouble than it is worth; use Sr. Vera's method.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post