I wonder if this a CICS specific problem !!!!
Just a guess!
I think your project will require two codes..one for the central host and other for the local machine..
The central host can send the link to the local machine in a file. The local machine code should get triggered as soon as the file...
just a guess !!
why are you using regpack in the driver program ??
Is test.c moving the values to the memory locations assigned to these variables (under REGPACK)???
Instead you program test.c is moving the values to the registers...so the driver program must also read the values from the...
yes ofcourse..this is not for win32 programs..
this will work only with dos version of C
I think VB is the best option for building win32 applications for serial communications.
You'll get a wealth of info about that on web with example codes
sorry i was not able to extract the code...I think i may have deleted it ! however i'll give u an overview how to go about..
first u need to decide two things
1) serial port number which u r going to use
2) baud rate (speed at which u'll transmit)
there are a lot of other factors which u can...
u have some dos services to do a char send and receive
you can u int86x function in c to execute those services
I can remember only the interrupt number as of now ..its 21(hex) ..
i have written a few programs which uses serial port ..if u want i can get u one
Parallel execution of two commands needs syncronization of output of first command to the input of the second. Writing such code won't be too easy.
There is a in-built C function system() which can execute shell commands from within the C code. You can pass your arguments to this function with...
i think u need to do a string copy instead of simple
assignment
strcpy(hostname,argv[1]);
other assignments are quite valid and must not cause any error unless the declarations are correct!
sorry ...i just did a mistake
use the code below
..........
MyWait(5)
.........
........
MyWait:
Parse Arg Min
TimeDiff = 0
StartTime = Time('M')
Do Until TimeDiff = Min
TimeDiff = Time('M') - StartTime
End
Return
you can design your own wait function easily using the time function
Time('m') returns the time elasped, after midnight, in minutes
_____________________________________
...........
..........
MyWait(5)
.........
........
MyWait:
Parse Arg Min
TimeDiff = 0
StartTime = Time('M')
Do Until...
This statement doesn't seems to be working with my code
Are u sure that ZPFKEY is a system variable coz when i use the option HILITE REXX , the variable ZPFKEY is still shown in normal color. The other system variables (like RC) are shown in red
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.