On Tue, Jul 3, 2012 at 4:24 PM, Roger Bilau <s...@bilau.de> wrote:
> Hello developer,
>
> maybe I don’t understand something but the following two little scripts will
> not run successfully at my windows 7 x64 environment.
>
>
>
> The first example stop always after the ADDRESS HOSTEMU line, Windows show
> me two windows with a german messages, both with ‘Open Object REXX interface
> no longer works’ and some additional text ‘… search for problem solution …’
> and ‘the program was closed about a problem …’.
>
>
>
> Strange is that the correct output is generated, but the script never
> reached the exit statement.
>
>
>
> Trace i
>
> Out.1 = 'IDNR   ANK   VERSNR   TKZREST   HSTK   BVK   BAK   JULDAT'
>
> Address HostEmu 'EXECIO 1 DISKW "D:\Rexx\ColumnsT.txt" (STEM OUT. FINIS'
>
> Exit
>
> ::requires "hostemu" LIBRARY;
>
>
>
> The second problem occur, if I place the ::requires directive not at the end
> of the source code – then I got the following messages:
>
> Error 99 running D:\Rexx\FileOut.rex line 3:  Translation error
>
> Error 99.916:  Unrecognized directive instruction
>
> I don’t understand, what is wrong.

The problem is the placement of the ::requires.  Directive statements
terminate the main portion of the program, so all of the lines that
appear after the ::requires are invalid.

>
>
>
> Trace i
>
> ::requires "hostemu" LIBRARY;
>
> Out.1 = 'IDNR   ANK   VERSNR   TKZREST   HSTK   BVK   BAK   JULDAT'
>
> Address HostEmu 'EXECIO 1 DISKW "D:\Rexx\ColumnsT.txt" (STEM OUT. FINIS'
>
> Exit
>
>
>
> D:\Rexx>rexx -v
>
> Open Object Rexx Version 4.1.1
>
> Build date: May 16 2012
>
> Addressing Mode: 32
>
>
>
> Regards
>
> Roger
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to