read env-file(a, b)


This function allows you to read out the ENV file a of a profile job (the environment file). The base values (see below) of the ENV file are saved in a map b. If successful, the function returns value true. Note: See also section Phase 1 (Introduction).

Description of Parameters


Parameter

Description

a

Path and name of the ENV file. Note: To determine the path of the ENV file, you can use function get path of backup-file(a,b,c). The backup file is located in the same directory. The name of the ENV file has the structure ENV_<job number>. Use system variable VAR_JOBNR to get the job number and then join all parts together with function concat(a,b,c,d,e,f,g,h, [CR-support i]).

b

Name of the map in which the basic values from the ENV file are stored. Keys in the map that can be accessed: filename, subject, profile, sender, timestamp. Note: If the map does not yet exist, it is created. The map is always deleted first!

Example


Parameter a

Parameter b

Result

./datawizard/backup/-69b27f4a_173494c6a26_-10f.fb9a5096769f3006_-69b27f4a_173494c21fe_-8000/50000/ENV_25984

mymap

true


To read the keys from map mymap, you can use function get value from map(key a, name of map b, delimiter c, item d, [default e]).