× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

Conversion of Single thread to Multi-Threaded rtn

  • richard
  • richard's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 10 months ago #16070 by richard
Hi,


Can anyone please help me to convert the attached Single threaded Extraction routine to Multi threaded Routine.


The routine attached is a file extraction batch routine. As per the routine, its not written into a jBase file, therefore facing problem to make use of the multi-thread concept.

Can anyone help me to convert it to Multithreaded routine.

Thanks In Advance.

File Attachment:

File Name: sigle_thre...read.txt
File Size:14 KB

Best Regards,

Think green – keep this on the screen
Attachments:

Please Log in or Create an account to join the conversation.

  • armin
  • armin's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • “So long - and thanks for all the fish!”
More
9 years 10 months ago #16072 by armin
Create a temporary file as a J4 in wich you write the same data instead of writing it to the flat file (F.ABC.BOL.ALL.WORK).
In addition to the 3 needed subroutines create a .POST routine that reads (and clears) the J4 and writes to your flat as a single-threaded routine.

using R11 on Unix

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds