×
Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…
Multi thread program
- MM
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 0
11 years 7 months ago #15061
by MM
Multi thread program was created by MM
How to write a Multi thread program to generate output in the format Header layout and Detail layout?
Eg: Using fields, field types and mapping
Eg: Using fields, field types and mapping
Please Log in or Create an account to join the conversation.
- kartsnek
- Visitor
-
11 years 7 months ago #15069
by kartsnek
Replied by kartsnek on topic Multi thread program
Hi
Are you asking about to generate the output(mean external file) would have header and footer in multithread routine? please explain with example.
Are you asking about to generate the output(mean external file) would have header and footer in multithread routine? please explain with example.
Please Log in or Create an account to join the conversation.
- MM
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 0
11 years 7 months ago - 11 years 7 months ago #15070
by MM
Replied by MM on topic Multi thread program
Yes,something like that
For example :
To generate the external file in the below required format using COB routine(multithread)
Header layout
Fields Type Mapping
Employment Bank Char 4 Abc(Always)
Establishment ID Char 10 CR ID –to be taken from the CUSTOMER application
Detail layout:
Fields Type Details Comments
Beneficiary acct n Char 34 account no Details>Position 1
Beneficiary custom Char 4 *35 Details>Position 6
Bank code Char 4*35 XXXX ( 4 char ) Details>Position 9
Payment desc Char 4*35 as mapped to the upload types
For example :
To generate the external file in the below required format using COB routine(multithread)
Header layout
Fields Type Mapping
Employment Bank Char 4 Abc(Always)
Establishment ID Char 10 CR ID –to be taken from the CUSTOMER application
Detail layout:
Fields Type Details Comments
Beneficiary acct n Char 34 account no Details>Position 1
Beneficiary custom Char 4 *35 Details>Position 6
Bank code Char 4*35 XXXX ( 4 char ) Details>Position 9
Payment desc Char 4*35 as mapped to the upload types
Last edit: 11 years 7 months ago by MM.
Please Log in or Create an account to join the conversation.
- kartsnek
- Visitor
-
11 years 7 months ago #15071
by kartsnek
Replied by kartsnek on topic Multi thread program
Hi,
Please find the below procedure.
1.Write a initialisation routine
Initialise all the common variable going to use
2.Write a load routine
Load all the required files
3.Write a select routine
Select the requirement with query
4.Write a process routine
Write a selected data into a file(Create a new file to write the data)
5.Write a extract routine.
Write a data into external file with required header and footer details.
Hope this help you to write a routine.
Please find the below procedure.
1.Write a initialisation routine
Initialise all the common variable going to use
2.Write a load routine
Load all the required files
3.Write a select routine
Select the requirement with query
4.Write a process routine
Write a selected data into a file(Create a new file to write the data)
5.Write a extract routine.
Write a data into external file with required header and footer details.
Hope this help you to write a routine.
Please Log in or Create an account to join the conversation.
- MM
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 0
11 years 7 months ago #15080
by MM
Replied by MM on topic Multi thread program
Thanks for reply, can you please explain what is process routine and extract routine with example?
Please Log in or Create an account to join the conversation.
Time to create page: 0.033 seconds