An idea: you may have to take care that there is a char 0x1a at the end of the
source file that terminates the nc session; at least in my case there is such a
char.
I'm using Windows, after all.
Kind regards
Bernd
Am 06.09.2013 11:08, schrieb Bernd Oppolzer:
> Am 06.09.2013 10:59, schrieb M.T.:
>> It is not a problem of 3.07 vs 4.00 for sure - I have this working for a
>> very long time.
>>
>> Could it be that the VM is not set up correct?
>>
>> You need the device defined in hercules config file
>>
>> You need VM to look at that device (ITIRC you need a start against that
>> device)
>>
>> Once it ends up in VM the ID card is the thing that VM looks at and
>> routes it to the identified guest/machine (which must have a reader on
>> that device as well- but that is a different story)
>>
> Hi M.,
>
> for me, it works this way, too.
>
> I simply do
>
> nc 127.0.0.1 3505 <copyrdr.tmp
>
> and copyrdr.tmp is an ASCII file, where I put the two lines
> in front of the actual source code (etc) that I want to transmit.
> I use CR/LF at the end of the lines, and I don't fill the lines up to
> 80 chars
> with blanks.
>
> An example of copyrdr.tmp:
>
> USERID BERND CLASS A NAME TESTP3 PLI
> :READ TESTP3 PLI A1
> TESTP3: PROC OPTIONS (MAIN);
> DCL I BIN FIXED (15);
> DCL SUM BIN FIXED (15) INIT (0);
> I = 1;
> DO WHILE (I ^= 10);
> SUM = SUM + I;
> I = I + 1;
> END;
> PUT SKIP LIST ('ERGEBNIS = ' !! SUM);
> END TESTP3;
>
> works for me.
>
> Kind regards
>
> Bernd
>
|