¿ªÔÆÌåÓý


Re: Automatic generation of transcoding tables for IND$FILE #rexx #VMCE

 

On Sat, Sep 17, 2022 at 02:23 PM, Martin Scheffler wrote:
Actually i have run into a bug that a CMS EXEC in REXX cannot have many blank-delimited arguments,

i am still researching this before posting an issue on Github. The string "CvG" is arbitrary.
bREXX does not even start and you can use a dummy file (only "/* inside) to get this bug.
I have identifiedthe same bug in CMS BREXX and it's parsing of command line arguments, and the problem is recorded here ...


I Hope This Helps

?... Mark S.


Issue #83: Errors with more than 7 arguments given to REXX EXECs, bREXX does not even start #github #VMCE #rexx

 

I have run into a bug that a CMS EXEC in REXX cannot have many blank-delimited arguments,
bREXX does not even start. The string "CvG" is arbitrary.

See .

You can use a dummy file (only "/*" inside) to get this bug.
See the examples below with 7, 8 and 9 arguments.

bREXX - more than 7 arguments


Re: Automatic generation of transcoding tables for IND$FILE #rexx #VMCE

 

Is this designed to run on MS Windows?
Do I need ooRexx, Regina, or other distribution of Rexx?

It is one single REXX source file that detects its environment and acts accordingly.

It is stlil Work In Progress, but test results are very promising.

I have tested it successfully on following platforms:
? EBCDIC side
??? VM/370 CE - CMS with bREXX
? ASCII side
??? KEDIT for Windows (Windows 10 GUI)
?? THE (The Hessling Editor) (Windows 10 TUI)
?? REXX-Regina standalone (Windows 10 TUI)
?? REXX-ooRexx standalone (Windows 10 TUI)

Since a CMS version has shown to be feasable, it is not necessary any more to have REXX available on the ASCII side.

Actually i have run into a bug that a CMS EXEC in REXX cannot have many blank-delimited arguments,

i am still researching this before posting an issue on Github. The string "CvG" is arbitrary.
bREXX does not even start and you can use a dummy file (only "/* inside) to get this bug.

Ready; T=0.01/0.01 18:45:58?????????????????????????????????????????????
INDmap 819/037v2 fn_in_1 ft_in_1 fm fn_in_2 ft_in_2 fm fn_out ft_out fm ?
Error 58 running "CvG": File not found????????????????????????????????? ?
ABNORMAL TERMINATION (NO RESOURCE CLEANUP) ERRNO 430 DLMalloc aborted.? ?
Ready(00012); T=0.01/0.02 18:46:41
INDmap 819/037v2 fn_in_1 ft_in_1 fm fn_in_2 ft_in_2 fm fn_out ft_out fm
Error 58 running "BVG": File not found
ABNORMAL TERMINATION (NO RESOURCE CLEANUP) ERRNO 430 DLMalloc aborted.
Ready(00012); T=0.02/0.02 18:55:18
INDmap 819/037v2 fn_in_1 ft_in_1 fm fn_in_2 ft_in_2 fm fn_out ft_out fm
Invalid character '?' in fileID 'B?G EXEC'.
Error 58 running "B G": File not found
ABNORMAL TERMINATION (NO RESOURCE CLEANUP) ERRNO 430 DLMalloc aborted.
Ready(00012); T=0.01/0.01 18:55:44



type rexxstub exec

/*

Ready; T=0.01/0.01 19:09:23
rexxstub 1 2 3 4 5 6 7
???? 1 *-* /*
Error 6.1 running rexxstub, line 1: Unmatched comment delimiter ("/*")
Ready(20006); T=0.01/0.01 19:09:56
rexxstub 1 2 3 4 5 6 7 8
???? 1 *-* /*
Error 6.1 running rexxstub, line 1: Unmatched comment delimiter ("/*")
ABNORMAL TERMINATION (NO RESOURCE CLEANUP) ERRNO 430 DLMalloc aborted.
Ready(00012); T=0.01/0.01 19:10:24
rexxstub 1 2 3 4 5 6 7 8 9
Invalid character '{' in fileID '{VSXSTUB EXEC'.
Error 58 running "{vsxstub": File not found
ABNORMAL TERMINATION (NO RESOURCE CLEANUP) ERRNO 430 DLMalloc aborted.
Ready(00012); T=0.01/0.01 19:10:59
rexxstub 1 2 3 4 5 6 7 8 9
Invalid character ' ' in fileID ' VSXSTUB EXEC'.
Error 58 running "¡Á³Õ²õ³æ²õ³Ù³Ü²ú": File not found
ABNORMAL TERMINATION (NO RESOURCE CLEANUP) ERRNO 430 DLMalloc aborted.
Ready(00012); T=0.01/0.03 19:12:00


q cmslevel??????????????????????????????????????????????????????????? ?
VM/370 CMS Community Edition Version 1 Release 1.2??????????????????? ?
Ready; T=0.01/0.01 19:19:00?????????????????????????????????????????? ?
q cplevel???????????????????????????????????????????????????????????? ?
SYSTEM 4381-A???????????????????????????????????????????????????????? ?
VM/370 Community Edition Version? 1 Release? 1.2 07/19/22 13:20:46??? ?
Ready; T=0.01/0.01 19:19:12?????????????????????????????????????????? ?
identify????????????????????????????????????????????????????????????? ?
MECAFF?? AT VM370CE? VIA RSCS???? 19:19:23 09/17/22 GMT???? SATURDAY? ?
Ready; T=0.01/0.01 19:19:23?????????????????????????????????????????? ?
????????????????????????????????????????????????????????????????????? ?
??????????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????? ??
????????????????????????????????????? ?
????????????????????????????????????????????????????????????????????????


Re: Possible bug in BREXX parse instruction

 

Hi Bob,
Hi Mark,

Shit, I totally forgot about this topic.?
I'll look at it tomorrow, I promise.?

Mike

Mark A. Stevens via <marXtevens=[email protected]> schrieb am Sa. 17. Sept. 2022 um 17:51:

On Wed, Dec 15, 2021 at 08:43 AM, Mike Gro?mann wrote:
Hey ¡­.
?
I will check the MVS version on weekend.?
?
Sorry for the delay.?
?
Mike
Mike,

Were you able to determine if the bug exists in the MVS version of BREXX? Did I miss that answer?

Bob,

You built a debugging version of BREXX for VM/370 CE, but I haven't figured out how to use it/turn it on, to see what is going on in the VM/370 version.

?... Mark S.

--
Von Gmail Mobile gesendet


Re: Possible bug in BREXX parse instruction

 

On Wed, Dec 15, 2021 at 08:43 AM, Mike Gro?mann wrote:
Hey ¡­.
?
I will check the MVS version on weekend.?
?
Sorry for the delay.?
?
Mike
Mike,

Were you able to determine if the bug exists in the MVS version of BREXX? Did I miss that answer?

Bob,

You built a debugging version of BREXX for VM/370 CE, but I haven't figured out how to use it/turn it on, to see what is going on in the VM/370 version.

?... Mark S.


Re: Automatic generation of transcoding tables for IND$FILE #rexx #VMCE

 

On Wed, Sep 14, 2022 at 12:06 PM, Martin Scheffler wrote:
How to use it ?
Maybe I haven't had enough coffee, yet.

Is this designed to run on MS Windows?
Do I need ooRexx, Regina, or other distribution of Rexx?

I can share some code for parsing the command line for filenames, if that would help.

?... Mark S.


Re: Automatic generation of transcoding tables for IND$FILE #rexx #VMCE

 

Work In Progress: support for CMS, first successful tests. Generated tables are almost identical, files differ in minor things. This means it is not necessary any more to have REXX available on the ASCII side.

See Screenhot.

How to use it ?
?1) Make sure that Hercules "codepage 819/1047" is in effect
?2) Make sure that "DEFAULT IND$MAP A" is empty (comments only)
?3) Use IND$FILE to transfer "EBCDIC MEMO Y" from CMS to the ASCII side
?4) Transfer back to CMS this very file by reader or tape, set "codepage 819/1047" where needed
?5) Remove unwanted header lines (if any) and save file to "EBCDIC MEMO A1"
?6) Run "INDMAP EXEC", output is written to "EBCDIC IND$MAP A1"

This preliminary version does not process command line arguments yet, file names are fixed:
?input 1 = "EBCDIC MEMO Y"
?input 2 = "EBCDIC MEMO A"
?output = "EBCDIC IND$MAP A1"
No other code pages than 819/1047 are supported now.


Photo INDmap also runs on CMS.png uploaded #photo-notice

Group Notification
 

The following photos have been uploaded to the IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE" album of the [email protected] group.

By: Martin Scheffler <San-Lorenzo@...>


Re: Automatic generation of transcoding tables for IND$FILE #rexx #VMCE

 

On Mon, Sep 12, 2022 at 07:24 PM, Martin Scheffler wrote:
Work In Progress: support for THE (The Hessling Editor), first successful tests. Generated tables are identical, files differ in comments only (date/time, tools).
Quick link to photo album


Photo Notifications #photo-notice

Group Notification
 

The following photos have been uploaded to the IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE" album of the [email protected] group.

By: Martin Scheffler <San-Lorenzo@...>


The following photos have been uploaded to the IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE" album of the [email protected] group.

By: Martin Scheffler <San-Lorenzo@...>


Photo Notifications #photo-notice

Group Notification
 

Martin Scheffler <San-Lorenzo@...> added the album IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE" : Screenshots


The following photos have been uploaded to the IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE" album of the [email protected] group.

By: Martin Scheffler <San-Lorenzo@...>


The following photos have been uploaded to the IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE" album of the [email protected] group.

By: Martin Scheffler <San-Lorenzo@...>


Re: Automatic generation of transcoding tables for IND$FILE #rexx #VMCE

 

Would you consider making it work with ¡°Thomas Hessling Editor¡± (THE)?

Dave

Work In Progress: support for THE (The Hessling Editor), first successful tests. Generated tables are identical, files differ in comments only (date/time, tools).
See Screenshots.






File /IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE"/THE1252_IND$MAP.png uploaded #file-notice

Group Notification
 

The following files and folders have been uploaded to the Files area of the [email protected] group.

By: Martin Scheffler <San-Lorenzo@...>

Description:
Work In Progress: support for THE (The Hessling Editor), first successful tests. Generated tables are identical, files differ in comments only (date/time, tools).


Re: Automatic generation of transcoding tables for IND$FILE #rexx #VMCE

 

On Sat, Sep 10, 2022 at 10:48 PM, Bob Bolch wrote:
Rather than give detailed translate table info, can you tell me what problem you are solving?
Are some bytes mistranslated? Which 3270 emulator are you using??
I am using the ZOC terminal emulator (https://www.emtec.com/zoc/features.html) for TN3270, EBCDIC code page 1047 is selected.
See folder for details: /g/h390-vm/files/IND$FILE%20:%20materials%20for%20topic%20%22Automatic%20generation%20of%20transcoding%20tables%20for%20IND$FILE%22/g/h390-vm/files/IND$FILE%20:%20materials%20for%20topic%20%22Automatic%20generation%20of%20transcoding%20tables%20for%20IND$FILE%22


File /IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE"/ZOC_1047.IND$MAP uploaded #file-notice

Group Notification
 

The following files and folders have been uploaded to the Files area of the [email protected] group.

By: Martin Scheffler <San-Lorenzo@...>

Description:
Automatically generated IND$MAP file for the ZOC terminal emulator, using EBCDIC code page 1047. Depending on your TN3270 emulator you might have to copy this file to DEFAULT IND$MAP A1, this even is true for ZOC itself where no options can be specified for downloads (host to terminal).


File /IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE"/EBCDIC.MEMO_good.png uploaded #file-notice

Group Notification
 

The following files and folders have been uploaded to the Files area of the [email protected] group.

By: Martin Scheffler <San-Lorenzo@...>

Description:
EBCDIC.MEMO_good : "EBCDIC MEMO Y" transferred from CMS to the PC using IND$FILE with my automatically generated IND$MAP file in effect. The mapping at position 0xDF has still to be investigated.


File /IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE"/EBCDIC.MEMO_bad.png uploaded #file-notice

Group Notification
 

The following files and folders have been uploaded to the Files area of the [email protected] group.

By: Martin Scheffler <San-Lorenzo@...>

Description:
EBCDIC.MEMO_bad : "EBCDIC MEMO Y" transferred from CMS to the PC using IND$FILE without any IND$MAP file. Lots of mappings are different, notably for the square brackets and the vertical bar.


File /IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE"/ZOC_1047.png uploaded #file-notice

Group Notification
 

The following files and folders have been uploaded to the Files area of the [email protected] group.

By: Martin Scheffler <San-Lorenzo@...>

Description:
Using the ZOC terminal emulator (https://www.emtec.com/zoc/features.html) for TN3270, EBCDIC code page 1047 is selected. The use of "EBCDIC MEMO" is documented in the MECAFF manuals.


Added Folder /IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE" #file-notice

Group Notification
 

Martin Scheffler <San-Lorenzo@...> added folder /IND$FILE : materials for topic "Automatic generation of transcoding tables for IND$FILE"


Re: Automatic generation of transcoding tables for IND$FILE #rexx #VMCE

 

Forgive me for the slight off-subject posting, but would like to remind people (in case anyone wasn't aware) that transferring files between a Hercules guest and host can also be accomplished via the Hercules "vmfplc2" utility, which supports using any of Hercules's pre-defined code pages ().

Use Herc's vmfplc2 utility to create your tape, attach it to Herc, and issue a few simple CMS commands and VOILA!

Going the other direction (guest --> host) is just as easy: attach tape to CMS user, DUMP, DETACH, and then on your host: vmfplc2.exe LOAD...

Oh sure, it might be *slightly* more complicated than IND$FILE, but it completely eliminates the code page issue.

AND, you can certainly "upload" or "download" (transfer) *huge* amounts of data very, VERY quickly, since you're just reading/writing [emulated] magnetic tape after all (which is *very* fast on Hercules).


Example:

From your host:

vmfplc2.exe DUMP -t -c 819/1047 C:\..(whatever)..\fishtest.ctl C:\..(whatever)..\fishtest.aws

(fishtest.ctl):

MYPROG ASSEMBLE A Fixed 80 Textual "C:\..(whatever)..\myprogram.asm"


From Hercules:

attach devnum 3420 fishtest.aws


From your CMS userid:

ATTACH devnum TO * AS 181
LOAD
DETACH 181
EDIT MYPROG ASSEMBLE A


VMFPLC2 usage instructions:




Just wanted to pass that along to anyone who wasn't familiar with it.


<shameless plug>

PLUS, on Windows, my HercGUI product, with its fill-in-the-blanks dialogs, makes using VMFPLC2 fast and easy too! :)



</shameless plug>

--
"Fish" (David B. Trout)
Software Development Laboratories

mail: fish@...