When Importing Telon source into the TDF, how can the error "MEMBER IN USE" be resolved?
Release : 5.1
This happens when what we call is a "LIVE" record on the WIP (Work In Process) files.
These members are deleted if you exit the TDF cleanly. If you shut the terminal off, have a power failure, or abend in the TDF, there are records left on the WIP files (TNTDDW, TNTDFW and TNTDXW).
These records can be deleted in 2 ways.
1. Running Batch job (usually at night when no one is on the TDF) JREORGWK will del/def and reinitialize the WIP files. You have to be sure no one is accessing the WIP files when you run the JREORGWK, as the job needs exclusive use of the files.
2. Telon release 5.1 provides the ability to Zap these leftover "LIVE" WIP records through the TDF INSTALL menu, as follows:
Type in INSTALL at the command line.
TELON DESIGN FACILITY MAIN MENU ***** *******
COMMAND ==> INSTALL__________________________
FUNCTION:
1 -- USER PROFILE MAINTENANCE
2 -- DATA ADMINISTRATION
3 -- PANEL SPECIFICATION
4 -- ONLINE PROGRAM DEFINITION
5 -- BATCH PROGRAM DEFINITION
6 -- PROTOTYPING FACILITY
U -- UTILITIES
X -- EXIT
Then using the List and ZAP functions, you can delete specific members from the TDFW, TDDW, and TDXW files.
TDF INSTALLATION MENU *************** ***************************************
COMMAND ==> _________________________________________________________________
FUNCTION: LI UP-UPDATE PU-PURGE LI-LIST
ITEM WF IP-INSTALLATION PROFILE US-USERS PW-PASSWORD RE-RESTRICT
HD-HEADERS WF-TDF WIP WD-TDD WIP WX-TDX WIP
LIST/PURGE TDF WIP RECORDS ********* *************************
COMMAND ==>
* ***NAME************** *************DESCRIPTION***************
TRCCVM.PD MVS CICS TARGET - COB VSAM MENU
TRCCVM.PI MVS CICS TARGET - COB VSAM MENU
TRCCVM.SD MVS CICS TARGET - COB VSAM MENU
Putting a "Z" by the WIP records will ZAP them
LIST/PURGE TDF WIP RECORDS ********* ****************************************
COMMAND ==> PAGE 01
* ***NAME************** *************DESCRIPTION*************** USER UPDAT
z TRCCVM.PD MVS CICS TARGET - COB VSAM MENU CERRI01 01042
z TRCCVM.PI MVS CICS TARGET - COB VSAM MENU CERRI01 01042
z TRCCVM.SD MVS CICS TARGET - COB VSAM MENU CERRI01 01042
LIST/PURGE TDF WIP RECORDS ********* ************ ALL LIST FUNCTIONS COMPLETED
COMMAND ==> PAGE 01
* ***NAME************** *************DESCRIPTION*************** USER UPDATE
TRCCVM.PD *PURGED* MVS CICS TARGET - COB VSAM MENU CERRI01 010423
TRCCVM.PI *PURGED* MVS CICS TARGET - COB VSAM MENU CERRI01 010423
TRCCVM.SD *PURGED* MVS CICS TARGET - COB VSAM MENU CERRI01 010423
Caution should be exercised here, so as not to DELETE a WIP record that really is in use by a current user currently logged on to the TDF.