|
View previous topic :: View next topic
|
| Author |
Message |
Prosenjit001
New User

Joined: 02 Nov 2011 Posts: 14 Location: India
|
|
|
|
| I have one ISPF table , I want to delete all the rows from the table each time before i load the table .. I have tried with TBVCLEAR , but it not working ... |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
TBVCLEAR will clear the variables, not the TABLE
TBERASE will do it
from Your edit session enter in the command line MODEL, and then follow the flow ... |
|
| Back to top |
|
 |
Prosenjit001
New User

Joined: 02 Nov 2011 Posts: 14 Location: India
|
|
|
|
| TBERASE deleting the the table itself ... I want to delete all rows from the table , not the table ... |
|
| Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
| Why would that be, a quick TBDEFINE and your table is back and empty |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
| You will have to delete them one by one.. good luck! |
|
| Back to top |
|
 |
Prosenjit001
New User

Joined: 02 Nov 2011 Posts: 14 Location: India
|
|
|
|
| expat wrote: |
| Why would that be, a quick TBDEFINE and your table is back and empty |
Good idea ... let me follow this approach :-) thank you |
|
| Back to top |
|
 |
Pedro
Global Moderator

Joined: 01 Sep 2006 Posts: 2624 Location: Silicon Valley
|
|
|
|
| Quote: |
| a quick TBDEFINE and your table is back and empty |
If that does not work, try TBCREATE. |
|
| Back to top |
|
 |
|
|