×
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...
DELETESEQ Error - Require Help
- arun_m1981
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 0
18 years 7 months ago #105
by arun_m1981
DELETESEQ Error - Require Help was created by arun_m1981
I am getting the following error when i use the deleteseq to delete a sequential file after processing, has anyone encountered any similar problem, can somebody help, thanks in advance.
0255 DELETESEQ FN.RTGS.RTGS.IN,Y.RTGS.IN.FILE ELSE
jBASE debugger->S
** Error [ DELETE_ERROR ] **
DELETE operation failed , error number -1 on file
Line 255 , Source EM.RTGS.IN.PROCESSING
Press C to continue
Trap from an error message, error message name = DELETE_ERROR
0255 DELETESEQ FN.RTGS.RTGS.IN,Y.RTGS.IN.FILE ELSE
_________________
Arun Mohan
0255 DELETESEQ FN.RTGS.RTGS.IN,Y.RTGS.IN.FILE ELSE
jBASE debugger->S
** Error [ DELETE_ERROR ] **
DELETE operation failed , error number -1 on file
Line 255 , Source EM.RTGS.IN.PROCESSING
Press C to continue
Trap from an error message, error message name = DELETE_ERROR
0255 DELETESEQ FN.RTGS.RTGS.IN,Y.RTGS.IN.FILE ELSE
_________________
Arun Mohan
Please Log in or Create an account to join the conversation.
- malai
- Offline
- Platinum Member
Less
More
- Posts: 508
- Thank you received: 11
18 years 6 months ago #106
by malai
Replied by malai on topic DELETESEQ Error - Require Help
Check for file permissions.
Try to issue a CLOSESEQ and then try DELETESEQ.
_________________
M A L A I
Try to issue a CLOSESEQ and then try DELETESEQ.
_________________
M A L A I
Please Log in or Create an account to join the conversation.
- arun_m1981
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 0
18 years 6 months ago #107
by arun_m1981
Replied by arun_m1981 on topic Hello
Thanks for the reply, i already used a closeseq before the deleteseq, but my routine is a multi threaded routine that is attached to the tsa.service, is it because of that i am not able to delete the sequential file?, i cannot get the details for the error code that the system returned any where in the manual, can you tell me what error -1 means..?, cause that should help identify the error. ecpecting your reply, thanks in advance.
arun
_________________
Arun Mohan
arun
_________________
Arun Mohan
Please Log in or Create an account to join the conversation.
- takoor
- Offline
- Senior Member
Less
More
- Posts: 57
- Thank you received: 0
18 years 6 months ago #108
by takoor
Replied by takoor on topic DELETESEQ Error - Require Help
Hello Arun,
I have 'been told' that you never multi-thread a job that writes to a sequential file. I suggest you check you file after it completes for the accureness of the content.
REGARDS
_________________
takoor
I have 'been told' that you never multi-thread a job that writes to a sequential file. I suggest you check you file after it completes for the accureness of the content.
REGARDS
_________________
takoor
Please Log in or Create an account to join the conversation.
- arun_m1981
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 0
18 years 6 months ago #109
by arun_m1981
Replied by arun_m1981 on topic Hello Takoor
Hello Takoor,
In my case i am using the multi-threaded routine because i have to attach it to the batch, and also i am not writting in to a sequential file, i am just reading the content of sequential files and use it create transactions in T24, i use OFS TO RAISE transactions, also i use the deleteseq only at the end of the processing, even then it is throwing an error, i have to check this again in another database, thanks for the help takoor.
_________________
Arun Mohan
In my case i am using the multi-threaded routine because i have to attach it to the batch, and also i am not writting in to a sequential file, i am just reading the content of sequential files and use it create transactions in T24, i use OFS TO RAISE transactions, also i use the deleteseq only at the end of the processing, even then it is throwing an error, i have to check this again in another database, thanks for the help takoor.
_________________
Arun Mohan
Please Log in or Create an account to join the conversation.
- arun_m1981
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 0
18 years 6 months ago #110
by arun_m1981
Replied by arun_m1981 on topic Hello Takoor
Hello Takoor,
In my case i am using the multi-threaded routine because i have to attach it to the batch, and also i am not writting in to a sequential file, i am just reading the content of sequential files and use it create transactions in T24, i use OFS TO RAISE transactions, also i use the deleteseq only at the end of the processing, even then it is throwing an error, i have to check this again in another database, thanks for the help takoor.
_________________
Arun Mohan
In my case i am using the multi-threaded routine because i have to attach it to the batch, and also i am not writting in to a sequential file, i am just reading the content of sequential files and use it create transactions in T24, i use OFS TO RAISE transactions, also i use the deleteseq only at the end of the processing, even then it is throwing an error, i have to check this again in another database, thanks for the help takoor.
_________________
Arun Mohan
Please Log in or Create an account to join the conversation.
- malai
- Offline
- Platinum Member
Less
More
- Posts: 508
- Thank you received: 11
18 years 6 months ago #111
by malai
Replied by malai on topic DELETESEQ Error - Require Help
If I am not wrong, we can write a .POST routine which executes after all the agents for that particular job is finished.
Try this... But I havent tried...
If u found, update us...
_________________
M A L A I
Try this... But I havent tried...
If u found, update us...
_________________
M A L A I
Please Log in or Create an account to join the conversation.
- arun_m1981
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 0
18 years 6 months ago #112
by arun_m1981
Replied by arun_m1981 on topic is .POST part of the multithreaded routine...?
hi M A LA I,
Thanks for the reply. By .POST Routine you mean write a routine by name <routine-name>.POST, how to check if a batch record has the type POST. thanks in advance. rgds Arun
_________________
Arun Mohan
Thanks for the reply. By .POST Routine you mean write a routine by name <routine-name>.POST, how to check if a batch record has the type POST. thanks in advance. rgds Arun
_________________
Arun Mohan
Please Log in or Create an account to join the conversation.
Time to create page: 0.087 seconds