Starting multiple InputScripts
How can I run three InputScripts one after the other from a GuiXT script?

What I tried is

if not V[var_transactionid=&V[_transactionid]]


  enter "=ADM" process="load_username.txt"

  enter "=STAT" process="set_status_profile.txt"

  enter "/41" process="load_catalog_data.txt"

endif

but this does not work.

The easiest and  fastest solution is to combine the three InputScripts into one and to start it in your InputScript:

if not V[var_transactionid=&V[_transactionid]]

  set v[var_transactionid] "&V[_transactionid]"

  enter "=ADM" process="combined_script.txt"

endif


Another (more complicated) approach is to use a status variable:

if  NOT V[var_transactionid=&V[_transactionid]]

 set v[var_transactionid]   "&V[_transactionid]" 

 set v_Z_processing_status  0

endif


if V[Z_processing_status=0]

  enter "=ADM" process="load_username.txt"

  set V[Z_processing_status] 1

  leave

endif


if V[Z_processing_status=1]

   enter "=STAT" process="set_status_profile.txt" 

   set V[Z_processing_status] 2 Leave

endif


if V[Z_processing_status=2]

    enter "/41" process="load_catalog_data.txt"  

    set V[Z_processing_status] 3

    leave

endif