Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

Hercules - Transfer vom PC zu Hercules/VM über Sockdev RDR

Subject:

Re: [hercules-390] Sockdev reader, and ASCII transfers.

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

Date:

2013.09.06 13:13:00


Am 06.09.2013 11:47, schrieb M.L.:
> Bernd Oppolzer wrote:
>> 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.
> Doesn't appear to help
>

Just tried it again.

On the windows session:

C:\herc>copyrdr testp3.pli bernd testp3 pli
copyrdr.tmp
TESTP3.PLI
         1 Datei(en) kopiert.

C:\herc>

copyrdr is a REXX script, which takes the source file testp3.pli and builds the
ID cards in front of it, then calls nc like posted before.

ID cards look like this:

USERID BERND    CLASS A NAME TESTP3   PLI
:READ  TESTP3   PLI      A1

after some erroneous trials, I finally got it working, see on the VM console:

12:58:37 GRAF 0C0 LOGON  AS BERND    USERS = 004
13:00:50
13:00:50 CP
13:00:59 START 00C
13:00:59 RDR  00C STARTED   SYSTEM
13:01:02 START 00D
13:01:02 PUN  00D STARTED   SYSTEM   CLASS = P      SEP
13:01:06 START 00E
13:01:06 PRT  00E STARTED   SYSTEM   CLASS = A      SEP
13:01:32 START RDR
13:01:32 RDR  00C STARTED   SYSTEM
13:01:38 RDR  00C ID CARD; TESTP3   NOT IN CP DIRECTORY
13:02:24 START RDR
13:02:24 RDR  00C STARTED   SYSTEM
13:02:51 START RDR
13:02:51 RDR  00C STARTED   SYSTEM
13:02:56 Q RDR ALL
13:02:56 NO RDR FILES
13:03:14 RDR  00C INPUT FOR BERND    FILE  = 0012
13:03:33 RDR  00C INPUT FOR BERND    FILE  = 0013

and in the BERND CMS machine:

b
Ready; T=0.01/0.01 13:00:18
q rdr all
NO RDR FILES
Ready; T=0.01/0.01 13:00:22
q rdr all
NO RDR FILES
Ready; T=0.01/0.01 13:02:29
q userid
USERID NOT LOGGED ON
Ready(00045); T=0.01/0.01 13:02:36
q bernd
BERND    - 0C0
Ready; T=0.01/0.01 13:02:39
RDR FILE 0012 HAS BEEN READ
RDR FILE 0013 HAS BEEN READ

now for the definition of 3505:

000C    3505    localhost:3505 sockdev ascii trunc eof
000D    3525    /herc370/vm/pun/pun00d.txt ascii
000E    1403    /herc370/vm/prt/prt00e.txt
000F    1403    /herc370/vm/prt/prt00f.txt ascii

Please compare with your settings, if you have any differences.

Are you using Windows or Linux?

Kind regards

Bernd

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie