Question & Answer
Question
Manual export of multiple documents only exports the first one successfully. (SCI25116) *|* -4814701BC96DB89685257918002FD425- *|*
Answer
Technote (troubleshooting)
Problem(Abstract)
Manual export of multiple documents only exports the first one successfully. (SCI25116)
Symptom
Manual export of data only exports the first document successfully.
Cause
Pre-session rule is being used to declare and initialize variables versus declaring the variables in the pre-session rules and initializing those variables in the session rules.
Resolving the problem
Pre-Session rules should be used ONLY for declaring variables. This is how you make the variables global in the map. Initializations and manipulations should be done at the INPUT/OUTPUT level and lower.
Pre-Session rules execute as follows for the different export options:
MANUAL EXPORT: Pre-Session ON-Begin rules will run at the beginning of ALL documents being exported. Pre-Session ON-End rules will run at the end of ALL documents being exported.
AUTO Export: Pre-Session ON-Begin rules will run at the beginning of EACH documents being exported. Pre-Session ON-End rules will run at the end of EACH documents being exported.
GDW_Export: Pre-Session ON-Begin rules will run at the beginning of EACH documents being exported. Pre-Session ON-End rules will run at the end of EACH documents being exported.
Historical Number
PRI11120
Product Alias/Synonym
Fact
SCI25116
Gentran:Server for Windows All Releases
Was this topic helpful?
Document Information
Modified date:
12 October 2021
UID
ibm10764941