manojgovindan
Programmer
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.
any help is much appreciated
Thanks,
Manoj
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.
any help is much appreciated
Thanks,
Manoj