Exchange scheme designers information

In the Table Relations (Import) (daxch0121s000) session you can enter a name of a session or 4GL program in the Program Name field. If you want to overrule the generated script, you can program the exchange script yourself. If you want to create your own script, you can use the following information which describes the interface between the Import Data (Non-Regular) (daxch0223m000) and Import Data (on a Regular Basis) (daxch0224m000) sessions.

Program Interface

From the earlier mentioned sessions these variables are passed as parameters to the session or 4GL program:

argtypedescription
1domain daxch.cxchexchange scheme
2domain daxch.cbatbatch
3domain daxch.batlbatch line
4domain daxch.txchexchange type: (non-)regular ex- or import
5longcurrent run number
6longcurrent try number
7longprocessing company: the company data is exported from or imported to
8longstartup company: the company the Exchange (XCH) module is running in
9domain daxch.redoprocessing type (new run, restart, reprocess or continue)
10domain daxch.yesnoreprocess error rejected records?
11domain daxch.yesnoreprocess condition rejected records?
12domain daxch.yesnowait for <CR> with messages?
13stringcalling program: daxch0227

 

Hinweis
  • Do NOT import the form variables: adat.f, adat.t, atim.f, atim.t. They can and will differ from the actual audit interval, for example in a job.
  • It is assumed that the log file is updated by the subprocess (in company process.comp) and that the variable stop.processing is exported to the parent process (by the subprocess) if necessary. Refer to session Predefined Functions/Variables (daxch0510s000) for information on how to update the log file.
  • If processing type = new run, then try number = 1; otherwise try number > 1.
  • If processing type = reprocess, then at least one of argument 10 and 11 will be yes, otherwise both will be no.