View previous topic :: View next topic
|
Author |
Message |
rohitcognizant
New User
Joined: 13 Feb 2007 Posts: 54 Location: Pune India
|
|
|
|
could someone help me to create a permanent ispf table |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
As far as I can remember, it's a long long time ago since I've done this, but it should be a bog standard PDS dataset.
Give it a try and let us know what happens. |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
ISPF tables are stored as members in a PDS. This PDS must be defined as
follows: Organization = PO Record format = FB Record length = 80.
It must be assigned to user logon as any other ispf library.
Use the ispf TB services for table customization of the tables, like TBCREATE, TBSORT, TBERASE ore so on.
Therfore please have a look at the ISPF manual in BookManager.
Regards, UmeySan
ADDRESS ISPEXEC ,
"LIBDEF ISPTLIB DATASET ID('IER1337.USER.TABLES') STACK"
ADDRESS ISPEXEC "TBERASE TBSQL1"
ADDRESS ISPEXEC "TBCREATE TBSQL1 KEYS(TLFDNR) NAMES(TFIELD) ",
"WRITE REPLACE SHARE "
ADDRESS ISPEXEC "TBSORT TBSQL1 FIELDS(TLFDNR,C,A)"
ADDRESS ISPEXEC "TBADD TBSQL1" |
|
Back to top |
|
|
|