A load statement returns records with fields that have values. A load statement cannot directly assign a value to a variable. So applymap cannot store a value in a variable. The AS $Variable would create a field named $Variable.
If you want to use the variable in the subfield function then you need to create that variable before creating the mapping table. The mapping table must exist before an applymap can use it to look up values.
Oke, I only could store my outcome into a fieldname. Would that help me as I only could pass one parameter within the "applymap"
Two questions remains:
1. How to store a field value within the LOAD to a (global) variable
2. Could I use this variable within my mapping request as I only could pass 1 parameter to the applymap.
I have to search using two parameters: the first param is Rel_Source_ID and the second this variable (to be used within my SubField request...