I'm trying to pass information between main process and subprocess ( learning how this all works in the process) I need to get information from the subprocess, in this case the value of g_start. This is the way i seen online to handle this, if there is a better way please let me know!
Main file contains
$ define/job/nolog g_start false
$ g_test == 6
$ spawn @test.com
$ if f$trnlnm(g_start) .eqs. true
$ then
File test.com contains:
$ If g_test .nes. 5
$ then
$ define/job g_start true
$ endif
$ logout
When running the main file g_test is not found what am I doing wrong that I'm not getting data to pass back and forth between main processes and subprocesses.