¿ªÔÆÌåÓý

Re: ZIP & UNZIP for VM/370 CE?
Never mind. I tried 819/1047 on a hunch and it worked [xmas@vm370dev zip30]$ vmfplc2 -c 819/1047 -z dump VMFPLC2.CTL `date +%F`.INFO-ZIP_ZIP.HET HHC02499I Hercules utility vmfplc2 - VM/CMS
By Mark A. Stevens · #3625 ·
Re: ZIP & UNZIP for VM/370 CE?
Fish, I ran the vmfplc2 command without parameters and it said to use '-c cp' for codepage translation. I 'assumed' I should use 1047, but got an error for my troubles. I didn't find an html page for
By Mark A. Stevens · #3624 ·
Re: ZIP & UNZIP for VM/370 CE?
Dave, I pulled the code from: https://sourceforge.net/projects/infozip/ I'm digging too deep on zip.c. Thanks for pulling my head out of the sand. Looking at cczip.exec I see what you mean. ... Mark
By Mark A. Stevens · #3623 ·
Re: ZIP & UNZIP for VM/370 CE?
yes ! Am 17.11.2021 um 21:53 schrieb Dave Wade: the IBM compiler has #pragma map to do this, but I guess, GCC does not have this, so the #define solution is the right way. I would add these #define
By Bernd Oppolzer · #3622 ·
Re: ZIP & UNZIP for VM/370 CE?
Am 17.11.2021 um 22:39 schrieb Dave Wade: or: put all these TEXT files in a TXTLIB, something like ZIPSUBS TXTLIB, this can be done one at a time and then using this TXTLIB when compiling the ZIP main
By Bernd Oppolzer · #3621 ·
Re: ZIP & UNZIP for VM/370 CE?
Mark, If your source is like the one I found the source is in multiple ¡°C¡± files. So zip.c, global.c, trees.c etc¡­. .. so when you compile these you end up with multiple TEXT files. You need to
By Dave Wade · #3620 ·
Re: ZIP & UNZIP for VM/370 CE?
Bob, No worries, I appreciate the help you have given. I'm going to beat this into shape, even if I have to use a hammer. ;-) ... Mark S.
By Mark A. Stevens · #3619 ·
Re: ZIP & UNZIP for VM/370 CE?
Dave, Thanks. I will look at that, especially after I have figured out all of the missing/undefined stuff, and then the changes can all be in one file, I hope. I have a GLOBAL TXTLIB and MACLIB in my
By Mark A. Stevens · #3618 ·
Re: ZIP & UNZIP for VM/370 CE?
Hi Mark, I can't really tell anything from partial fragments of code. I have to leave this with others who may have experience changing code that worked in the IBM C compilers into code that works for
By Bob Bolch · #3617 ·
Re: ZIP & UNZIP for VM/370 CE?
Mark, Instead of mangling the source consider a ¡°cmscfg.h¡± or similar with say #define zipmessage_nl zipmsgnl #define zipmessage zipmsg That you include in each file. When loading if you don¡¯t
By Dave Wade · #3616 ·
Re: ZIP & UNZIP for VM/370 CE?
Bob, I'm not being clear. My apologies. It doesn't bother me that _ becomes @, what bothers me is having to define a variable in the C program, that has been declared an extern in the header file. The
By Mark A. Stevens · #3615 ·
Re: ZIP & UNZIP for VM/370 CE?
Mark, Correct, you shouldn¡¯t need to change ¡°extrn¡± definitions UNLESS they are not unique in the first 8 (or is it 7) characters. The output should all be changed in the same way. Dave Sent: 17
By Dave Wade · #3614 ·
Re: RDRLIST on VM/370 CE
Bob? - following your post I've installed VM370CE and am using that rather than sixpack 1.2. When I try to run my EXEC (just as a test - knowing the IOS3270 calls will fail) it turns out there are
By Dave Mitchell · #3613 ·
Re: ZIP & UNZIP for VM/370 CE?
Can you show an example of the exact underscore problem? I may be confused about what is happening. The C code for BREXX has a lot of external names that start with two underbar characters, but
By Bob Bolch · #3612 ·
Re: ZIP & UNZIP for VM/370 CE?
Bob, Thanks for that explanation. What I was complaining about was the need to (re)define the extrn variables in ZIP H, again in ZIP C. Doesn't make sense, especially since those two files are
By Mark A. Stevens · #3611 ·
Re: RDRLIST on VM/370 CE
Thanks Bob. The exec is too big to send as-is but I¡¯ll cut out an extract. Dave
By Dave Mitchell · #3610 ·
Re: RDRLIST on VM/370 CE
I am having no luck cutting and pasting from the IOS3270 Manual into the editor on VM370CE. If you send me your EXEC, I could try that, or you could load the IOS3270 MODULE from the IBM Download page
By Bob Bolch · #3609 ·
Re: RDRLIST on VM/370 CE
It uses a lot of the features for REXX on VM that I ported to run on the Community Edition. I loaded the version from Jim Elliot's OBM web page and it runs the IOS3270 ? command. I am copying the
By Bob Bolch · #3608 ·
Re: RDRLIST on VM/370 CE
Jim - the package at the IBM download site contains the IOS3270 MODULE and XMOD - do you think these could be installed on the VM/370 sixpack running under Hercules? I use x3270 (Linux) to connect to
By Dave Mitchell · #3607 ·
Re: ZIP & UNZIP for VM/370 CE?
I expect the @ use is caused by the restrictions on the character set for external symbol names in the Object Code (TEXT) file produced by all the various compilers and the Assembler on VM and MVS.
By Bob Bolch · #3606 ·