Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tablebase sorting

Status
Not open for further replies.

manojgovindan

Programmer
Dec 26, 2002
7
0
0
US
Hi all,

I used tablebase sorting in one of my subroutines.
Everytime the driver pgm calls the subroutine, it creates a new table and deletes it before return to main program. The driver calls the subpgm many a time and will this cause performance problem? Is there any alternative using which I can avoid redefining the table everytime.

To define table
MOVE 'DT' TO TABLEBASE-COMMAND-ID
To close table
MOVE 'CL' TO TABLEBASE-COMMAND-ID
The call
CALL 'TBCALLI' USING TABLEBASE-COMMAND-AREA
TABLEBASE-DEFINE-AREA.

Pls. refer me to any good site for help on this topic.

Thanks,
Manoj

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top