Page 1 of 1

How to add a column in ISPF Table?

PostPosted: Wed Nov 21, 2012 1:05 am
by mainframegeek
I need to add a column to ISPF Tables.
Can anyone help me on this.

Re: How to add a column in ISPF Table?

PostPosted: Wed Nov 21, 2012 1:14 am
by enrico-sorichetti
Can anyone help me on this.

NO!
if You do not like YES/NO answers do not ask YES/NO questions :mrgreen:

Re: How to add a column in ISPF Table?

PostPosted: Wed Nov 21, 2012 1:22 am
by mainframegeek
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?

Re: How to add a column in ISPF Table?

PostPosted: Wed Nov 21, 2012 1:26 am
by enrico-sorichetti
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

Re: How to add a column in ISPF Table?

PostPosted: Wed Nov 28, 2012 3:28 am
by Pedro
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.

Re: How to add a column in ISPF Table?

PostPosted: Wed Nov 28, 2012 4:07 am
by Akatsukami
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.