Transformation: "process-files"

This transformation does not have a description.

High Level Data Flow Diagram

Input (6) Transform Output (2)
Get ${INPUT_DIR} SubFolders
Get ${OUTPUT_DIR} SubFolders
Get Saxon Jar
Input Files
Output Files
system date
index.xml
transform_script

Diagram

transform_script, is_windows
${INPUT_DIR} -> folderName
${OUTPUT_DIR} -> folderName
.bat
.sh
<file>
<folder>
<index>
Combine
Copy rows to result
Delete files
Get ${INPUT_DIR} SubFolders
Get ${INPUT_DIR} and ${OUTPUT_DIR}
Get ${OUTPUT_DIR} SubFolders
Get Saxon Jar
Hidden?
Hidden? 2
Input Files
Join Streams
Merge Rows (diff)
Not updated
Output Files
Prepare Saxon/Java commandline
Switch / Case
Table output
del timestamp
filename -> saxon.jar
hidden
html path
index / file
index / folder
index.xml
input foldername
input target file
input updated?
input wildcard
is windows?
lookup deleted file
lookup input
lookup new file
lookup output
match windows
output dirs
output foldername
output target file
output wildcard
relative input path
relative output path
sort input
sort output
system date
transform_script
xslt-output-file

Variables

This transformation reads the following variables:

Name Value Connections Steps
INPUT_DIR ${INPUT_DIR} -> folderName, Get ${INPUT_DIR} SubFolders, Get ${INPUT_DIR} and ${OUTPUT_DIR}
OUTPUT_DIR ${OUTPUT_DIR} -> folderName, Get ${INPUT_DIR} and ${OUTPUT_DIR}, Get ${OUTPUT_DIR} SubFolders
file.separator Get ${INPUT_DIR} and ${OUTPUT_DIR}
java.home Get ${INPUT_DIR} and ${OUTPUT_DIR}
Internal.Transformation.Filename.Directory Get ${INPUT_DIR} and ${OUTPUT_DIR}
os.name Get ${INPUT_DIR} and ${OUTPUT_DIR}

Database Connections

This transformation does not define any database connections.

Flat Files

t.b.d.

Steps


transform_script, is_windows

This job entry does not have a description.

Fields

Position field_name variable_name variable_type default_value
1 full_transform_script FULL_TRANSFORM_SCRIPT ROOT_JOB
2 is_windows IS_WINDOWS ROOT_JOB

${INPUT_DIR} -> folderName

This job entry does not have a description.

Fields

Position name rename length precision
1 input_dir folderName -2 -2

${OUTPUT_DIR} -> folderName

This job entry does not have a description.

Fields

Position name rename length precision
1 html_path folderName -2 -2

.bat

This job entry does not have a description.

Fields

Position name type format currency decimal group nullif length precision
1 extension String .bat -1 -1

.sh

This job entry does not have a description.

Fields

Position name type format currency decimal group nullif length precision
1 extension String .sh -1 -1

<file>

This job entry does not have a description.

Fields

Position name element type format currency decimal group nullif length precision attribute attributeParentName
1 filename String 500 -1 N
2 short_filename String 500 -1 N
3 path String 500 -1 N
4 type String 500 -1 N
5 exists Boolean -1 -1 N
6 ishidden Boolean -1 -1 N
7 lastmodifiedtime Date -1 -1 N
8 size Integer -1 0 N
9 extension String -1 -1 N
10 uri String -1 -1 N

<folder>

This job entry does not have a description.

Fields

Position name element type format currency decimal group nullif length precision attribute attributeParentName
1 folderName full-name String -1 -1 Y
2 short_folderName short-name String -1 -1 Y
3 path parent-folder String -1 -1 Y
4 ishidden hidden Boolean -1 -1 Y
5 lastmodifiedtime lastmodified Date -1 -1 Y
6 uri String -1 -1 Y

<index>

This job entry does not have a description.

Fields

Position name element type format currency decimal group nullif length precision attribute attributeParentName
1 output_dir String -1 -1 Y
2 input_dir String -1 -1 Y
3 file_separator String -1 -1 Y
4 system_date generated Date yyyy-MM-dd HH:mm:ss -1 -1 Y

Combine

This job entry does not have a description.


Copy rows to result

This job entry does not have a description.


Delete files

This job entry does not have a description.


Get ${INPUT_DIR} SubFolders

This job entry does not have a description.


Get ${INPUT_DIR} and ${OUTPUT_DIR}

This job entry does not have a description.

Fields

Position name variable type format currency decimal group length precision trim_type
1 output_dir ${OUTPUT_DIR} String -1 -1 none
2 input_dir ${INPUT_DIR} String -1 -1 none
3 file_separator ${file.separator} String -1 -1 none
4 java_home ${java.home} String -1 -1 none
5 transformation_dir ${Internal.Transformation.Filename.Directory} String -1 -1 none
6 operating_system ${os.name} String -1 -1 none

Get ${OUTPUT_DIR} SubFolders

This job entry does not have a description.


Get Saxon Jar

This job entry does not have a description.


Hidden?

This job entry does not have a description.


Hidden? 2

This job entry does not have a description.


Input Files

This job entry does not have a description.


Join Streams

This job entry does not have a description.


Merge Rows (diff)

This job entry does not have a description.


Not updated

This job entry does not have a description.


Output Files

This job entry does not have a description.


Prepare Saxon/Java commandline

This job entry does not have a description.


Switch / Case

This job entry does not have a description.


del timestamp

This job entry does not have a description.

N lastmodifiedtime_output lastmodifiedtime_input lastmodifiedtime_1 - -2 -2

filename -> saxon.jar

This job entry does not have a description.

Fields

Position name rename length precision
1 filename saxon.jar -2 -2

hidden

This job entry does not have a description.


html path

This job entry does not have a description.


index / file

This job entry does not have a description.


index / folder

This job entry does not have a description.


index.xml

This job entry does not have a description.

Fields

Position name type format currency decimal group nullif trim_type length precision
1 index-file String both -1 -1

input foldername

This job entry does not have a description.

Fields

Position name rename length precision
1 folderName -2 -2

input target file

This job entry does not have a description.


input updated?

This job entry does not have a description.


input wildcard

This job entry does not have a description.

Fields

Position name type format currency decimal group nullif length precision
1 wildcard String .+\.k(jb|tr) -1 -1

is windows?

This job entry does not have a description.


lookup deleted file

This job entry does not have a description.


lookup input

This job entry does not have a description.


lookup new file

This job entry does not have a description.


lookup output

This job entry does not have a description.


match windows

This job entry does not have a description.


output dirs

This job entry does not have a description.

Script 1
//Script here
var output_dir = getVariable("OUTPUT_DIR", "") + 
                 getVariable("file.separator", "") + "html" +
                 relative_path

Fields

Position name rename type length precision replace
1 output_dir output_dir String -1 -1 N

output foldername

This job entry does not have a description.

Fields

Position name rename length precision
1 folderName -2 -2

output target file

This job entry does not have a description.


output wildcard

This job entry does not have a description.

Fields

Position name type format currency decimal group nullif length precision
1 wildcard String .+\.k(jb|tr)\.html -1 -1

relative input path

This job entry does not have a description.

Script 1
//Script here
var input_dir = getVariable("INPUT_DIR", "");
var relative_path = folderName.substr(input_dir.length);

Fields

Position name rename type length precision replace
1 relative_path relative_path String -1 -1 N

relative output path

This job entry does not have a description.

Script 1
//Script here
var separator = getVariable("file.separator", "");
var output_dir = getVariable("OUTPUT_DIR", "") + separator + "html";
var relative_path = folderName.substr(output_dir.length);

Fields

Position name rename type length precision replace
1 relative_path relative_path String -1 -1 N

sort input

This job entry does not have a description.

Fields

Position name ascending case_sensitive
1 relative_path Y N
2 target_filename Y N

sort output

This job entry does not have a description.

Fields

Position name ascending case_sensitive
1 relative_path Y N
2 target_filename Y N

system date

This job entry does not have a description.

Fields

Position name type
1 system_date system date (fixed)

transform_script

This job entry does not have a description.

Fields

Position name type format currency decimal group nullif trim_type length precision
1 quote-jave-executable String both -1 -1
2 java_option_xms String both -1 -1
3 java_option_xmx String both -1 -1
4 java_option_jar String both -1 -1
5 quote-saxon-jar String both -1 -1
6 saxon_option_output String both -1 -1
7 quote-xslt-output-file String both -1 -1
8 quote-full-index.xml String both -1 -1
9 quote-full-xslt String both -1 -1
10 param_value_filename String both -1 -1

xslt-output-file

This job entry does not have a description.