Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The universe is an island, surrounded by whatever it is that surrounds universes.


devel / comp.lang.cobol / Re: RAINCODE cobol usage

SubjectAuthor
* RAINCODE cobol usagefederico priolo
`* Re: RAINCODE cobol usageDennis Lee Bieber
 `- Re: RAINCODE cobol usagedocdwarf

1
RAINCODE cobol usage

<6640caf0-60e8-4264-8a81-b87be52de6b0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=139&group=comp.lang.cobol#139

  copy link   Newsgroups: comp.lang.cobol
X-Received: by 2002:a05:620a:127b:: with SMTP id b27mr13904747qkl.104.1620478269497;
Sat, 08 May 2021 05:51:09 -0700 (PDT)
X-Received: by 2002:a25:80c4:: with SMTP id c4mr20832585ybm.283.1620478269262;
Sat, 08 May 2021 05:51:09 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.cobol
Date: Sat, 8 May 2021 05:51:09 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=79.55.30.99; posting-account=CXgenwoAAAA0Zkgj9mZVYV66W1QeMH-I
NNTP-Posting-Host: 79.55.30.99
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6640caf0-60e8-4264-8a81-b87be52de6b0n@googlegroups.com>
Subject: RAINCODE cobol usage
From: federico.priolo@gmail.com (federico priolo)
Injection-Date: Sat, 08 May 2021 12:51:09 +0000
Content-Type: text/plain; charset="UTF-8"
 by: federico priolo - Sat, 8 May 2021 12:51 UTC

Hi all I am just taking a look at raincode compiler. It uses the same cobol syntax of mainframe (that I don't know since I used always powercobol and before RMCOBOL and Microfocus..dialect.)

So what the beahaviour to get an environment variable running it under window?

Any examples are welcome

Federico

Re: RAINCODE cobol usage

<ihnd9gdjflj43ij7i2q9fthn4m6s18m165@4ax.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=140&group=comp.lang.cobol#140

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 08 May 2021 14:20:39 -0500
From: wlfraed@ix.netcom.com (Dennis Lee Bieber)
Newsgroups: comp.lang.cobol
Subject: Re: RAINCODE cobol usage
Date: Sat, 08 May 2021 15:20:39 -0400
Organization: IISS Elusive Unicorn
Message-ID: <ihnd9gdjflj43ij7i2q9fthn4m6s18m165@4ax.com>
References: <6640caf0-60e8-4264-8a81-b87be52de6b0n@googlegroups.com>
User-Agent: ForteAgent/8.00.32.1272
X-No-Archive: YES
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 149
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-k8tBW3RpPOA32JvzxAZcTn1S4ivfQM8whxWH7lgIoy7E+PFR0b3xgUAxofqIVI3+vJDtKsJjqJC8X4r!c/KKBSJgT/UCxMIekY7oxEmHhfKK7vmmYTivqsYD/tiH+ttfeg45Ec7whszFR70JyMRp+ujo
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 7184
 by: Dennis Lee Bieber - Sat, 8 May 2021 19:20 UTC

On Sat, 8 May 2021 05:51:09 -0700 (PDT), federico priolo
<federico.priolo@gmail.com> declaimed the following:

>Hi all I am just taking a look at raincode compiler. It uses the same cobol syntax of mainframe (that I don't know since I used always powercobol and before RMCOBOL and Microfocus..dialect.)
>
>So what the beahaviour to get an environment variable running it under window?
>
I'm not sure if I ever got it to create a stand-alone executable... My
toy tests required using the DLL and Raincode runner.

Using rclrun from within the "shell" (launcher.bat) allowed a simple
hello_world to compile and run. (I have a shortcut to that which opens a
console with the environment set, but for below ran it from within a
console).

-=-=-=-
Microsoft Windows [Version 10.0.19041.928]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Wulfraed>"C:\Program Files\Raincode\Compilers\launcher.bat"
Setting up RainCode Legacy Compilers environment

C:\Users\Wulfraed>cd Documents\_Hg-Repositories\RCCobol

C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol>cobrc hello2.cob
1:hello2.cob

C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol>dir
Volume in drive C is OS
Volume Serial Number is 4ACC-3CB4

Directory of C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol

05/08/2021 03:09 PM <DIR> .
05/08/2021 03:09 PM <DIR> ..
05/08/2021 02:57 PM <DIR> .hg
03/05/2021 02:57 PM 42 .hgignore
08/20/2018 10:05 AM <DIR> CobolStudy
09/11/2017 10:36 PM 6,144 HELLO.exe
09/11/2017 10:36 PM 17,920 HELLO.pdb
02/26/2018 12:39 PM 261 hello2.cob
05/08/2021 03:09 PM 6,656 HELLO2.dll
05/08/2021 03:02 PM 6,656 HELLO2.exe
03/13/2020 04:07 PM 1,429 HELLO2.exe.config
05/08/2021 03:09 PM 24,064 HELLO2.pdb
03/13/2020 04:06 PM 135,168 RainCodeCobolStats.db
03/05/2021 02:49 PM <DIR> RFSafety
03/05/2021 02:49 PM 66,002 RFSafety.exe
08/20/2018 10:07 AM <DIR> Rw_test
03/18/2020 10:01 PM <DIR> samples
03/05/2021 03:15 AM 50,615 Senior74.exe
09/11/2017 10:33 PM 199 standardopts.resp
12 File(s) 315,156 bytes
7 Dir(s) 1,305,215,377,408 bytes free

C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol>rclrun HELLO2.dll
HELLO WORLD !
It is the End of the World

C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol>
-=-=-=-

Note that this built the DLL file. An EXE is created with

-=-=-=-
C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol>cobrc :EXE hello2.cob
1:hello2.cob

C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol>dir
Volume in drive C is OS
Volume Serial Number is 4ACC-3CB4

Directory of C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol

05/08/2021 03:12 PM <DIR> .
05/08/2021 03:12 PM <DIR> ..
05/08/2021 02:57 PM <DIR> .hg
03/05/2021 02:57 PM 42 .hgignore
08/20/2018 10:05 AM <DIR> CobolStudy
09/11/2017 10:36 PM 6,144 HELLO.exe
09/11/2017 10:36 PM 17,920 HELLO.pdb
02/26/2018 12:39 PM 261 hello2.cob
05/08/2021 03:09 PM 6,656 HELLO2.dll
05/08/2021 03:12 PM 6,656 HELLO2.exe
03/13/2020 04:07 PM 1,429 HELLO2.exe.config
05/08/2021 03:12 PM 24,064 HELLO2.pdb
03/13/2020 04:06 PM 135,168 RainCodeCobolStats.db
03/05/2021 02:49 PM <DIR> RFSafety
03/05/2021 02:49 PM 66,002 RFSafety.exe
08/20/2018 10:07 AM <DIR> Rw_test
03/18/2020 10:01 PM <DIR> samples
03/05/2021 03:15 AM 50,615 Senior74.exe
09/11/2017 10:33 PM 199 standardopts.resp
12 File(s) 315,156 bytes
7 Dir(s) 1,305,219,121,152 bytes free

C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol>
-=-=-=-

but it won't run stand-alone

-=-=-=-
C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol>HELLO2.exe

Unhandled Exception: System.TypeInitializationException: The type
initializer for 'RainCode.Generated.HELLO2' threw an exception. --->
System.IO.FileNotFoundException: Could not load file or assembly 'rccorlib,
Version=1.0.4.0, Culture=neutral, PublicKeyToken=44ab4e15cffad0e3' or one
of its dependencies. The system cannot find the file specified.
at RainCodeLegacyRuntime.Module.Module..ctor(String fileName, String
name, ModuleLanguage language, Int32 memorySize, CallingConvention cc)
at RainCode.Generated.HELLO2..ctor() in
C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol\HELLO2.as:line 0
at RainCode.Generated.HELLO2.init_6() in
C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol\HELLO2.as:line 0
at RainCode.Generated.HELLO2..cctor()
--- End of inner exception stack trace ---
at RainCode.Generated.HELLO2.Main(String[] v_args) in
C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol\hello2.cob:line 0

C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol>rclrun HELLO2.exe
[2021-05-08 15:15:00.650] [1] [ERROR] [RainCodeLegacyRuntime]: Could not
find program HELLO2.exe (or found an incompatible version)

C:\Users\Wulfraed\Documents\_Hg-Repositories\RCCobol>
-=-=-=-

There may be compiler options I'm missing.

Any real program also requires one to set up a file describing the I/O
linkages, which itself is nasty to look at.

<FileConfigCollection>
<FileConfig LogicalName="SYSIN">
<Path>Senior.dat</Path>
<RecordSize>43</RecordSize>
<FileOrganization>LineSequential</FileOrganization>
</FileConfig>
<FileConfig LogicalName="REPORT">
<Path>Senior_Report.txt</Path>
<FileOrganization>LineSequential</FileOrganization>
</FileConfig>
</FileConfigCollection>

--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

Re: RAINCODE cobol usage

<s77gjs$57k$1@reader1.panix.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=141&group=comp.lang.cobol#141

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!goblin3!goblin.stu.neva.ru!panix!not-for-mail
From: docdwarf@panix.com
Newsgroups: comp.lang.cobol
Subject: Re: RAINCODE cobol usage
Date: Sun, 9 May 2021 02:15:24 +0000 (UTC)
Organization: Public Access Networks Corp.
Lines: 20
Message-ID: <s77gjs$57k$1@reader1.panix.com>
References: <6640caf0-60e8-4264-8a81-b87be52de6b0n@googlegroups.com> <ihnd9gdjflj43ij7i2q9fthn4m6s18m165@4ax.com>
NNTP-Posting-Host: panix1.panix.com
X-Trace: reader1.panix.com 1620526524 5364 166.84.1.1 (9 May 2021 02:15:24 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Sun, 9 May 2021 02:15:24 +0000 (UTC)
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: docdwarf@panix.com - Sun, 9 May 2021 02:15 UTC

In article <ihnd9gdjflj43ij7i2q9fthn4m6s18m165@4ax.com>,
Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
>On Sat, 8 May 2021 05:51:09 -0700 (PDT), federico priolo
><federico.priolo@gmail.com> declaimed the following:
>
>>Hi all I am just taking a look at raincode compiler. It uses the same
>cobol syntax of mainframe (that I don't know since I used always
>powercobol and before RMCOBOL and Microfocus..dialect.)
>>
>>So what the beahaviour to get an environment variable running it under window?
>>
> I'm not sure if I ever got it to create a stand-alone executable... My
>toy tests required using the DLL and Raincode runner.

That was diligent and generous work, Mr Bieber, and you should be thanked
for it.

Hey! Someone thank Mr Bieber, would'ja?

DD

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor