on 04-22-2009 8:34 AM
Hi,
9. Under Write Mode, specify whether the target file is to be written Directly to the specified directory.
○ If an additional step is to be added using a temporary file, choose Use Temporary File.
○ You can specify a naming scheme for the temporary file under Temporary File Name Scheme.
This scheme is used to determine the prefix and extension of the temporary file; to ensure a unique file name, a time stamp is also added to the name during processing.
Example
The scheme xitemp.tmp, for example, results in the file name xitemp<timestamp>.tmp.
Is there any way to avoid the adding of the timestamp? i only have a limited number of allowed characters in the filename (10 + 3)
Any idea?
No answer. Why i'm getting the hint to use create file when i want to create a temporary file which is renamed to avoid reading before the entire file is written?
no points given...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in the receiver comm channel under File Construction Mode(Processing Tab Page
)
choose *Create* Mode Selection
The file is created. The document received last is saved in each case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you use a JavaMapping???
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Rainer,
I think this is possible by enabling Adapterspecific message attributes and disabling Timestamp option under those attributes in the receiver communication channel.
Thanks,
Ram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JUst check the option ther are other option where u can chose from..instead adding timesatmp u can have differnet file name.....
Processing Tab Page
Processing Parameters
● Various options exist for creating the files:
File Construction Mode
Mode
Selection
Create
The file is created. The document received last is saved in each case.
Select Overwrite Existing File if you want to overwrite the existing file. If you do not set the indicator, processing is stopped until the created file is processed.
You can only set the indicator if you have selected Use Temporary File under Put File.
Append
The file is written when the inbound document is attached.
Add Time Stamp
A new file is created for each document. Each file is extended with a time stamp with the format yyyyMMdd-HHmmss-SSS. The time stamp is added as the last part of the name before the extension.
This mode guarantees that no file is overwritten. In this way, files that originate from the same adapter configuration can be sorted.
Add Message ID
A new file is created for each document. The file name is extended by the message ID generated by the Integration Server/PCK. The ID has the format: xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
The message ID is added as the last part of the name before the extension. This mode guarantees that no file is overwritten.
Add Counter
A new file is created for each document. The file name is extended with a counter, which is inserted before the file name extension (for example, default002.file). This selection is only available for the File System (NFS) transport protocol.
Make specifications for Counter Definition:
Prefix
Specify one or more characters that you want to add before the counter in the file name.
Format
Specify the first counter to be used. It must be a valid integer number. Leading zeros are permitted.
Step
Specify the counter increment.
Mode
Specify when the counter is to be added.
After First File
The counter is added when the file name is used unaltered for the first time.
Immediately
The counter is added with the first document.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Hi,
>
>
9. Under Write Mode, specify whether the target file is to be written Directly to the specified directory.
○ If an additional step is to be added using a temporary file, choose Use Temporary File.
○ You can specify a naming scheme for the temporary file under Temporary File Name Scheme.
This scheme is used to determine the prefix and extension of the temporary file; to ensure a unique file name, a time stamp is also added to the name during processing.
Example
The scheme xitemp.tmp, for example, results in the file name xitemp<timestamp>.tmp.
>
> Is there any way to avoid the adding of the timestamp? i only have a limited number of allowed characters in the filename (10 + 3)
>
> Any idea?
do you want to use the temporary file option ? then the timestamp option cannot be modified.
else if you want to write the file directly then you have other options so as to not use the timestamp.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.