开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: How to read a file with RECFM=U in MUSIC/SP?


 
Edited

Hallo Bernd,
?
Here some info on how I come to the idea of reading a dataset in RECFM=U?
?
I have recently learned HLASM and as a hobby I am implementing some old ProjectEuler (https://projecteuler.net/) solutions in HLASM.
I start from a solution in C and implement it in HLASM (the solution is implemented as a main program in C that call an HLASM function).
I have the code on PC where I edit it using Codium (it has a good plugin for HLASM). Then I copy it to the target system via WinSCP.
The target systems at the moment are z/OS (under USS), TK4- and MUSIC/SP.
So I download and upload a lot of files/datasets from here to there and .... :-)
Usually it is just source code. But sometimes also already compiled programs.

I happened to copy one of these programs between two MUSIC/SP systems and noticed that it no longer worked.
?
So, I have temporarily set aside the ProjectEuler solutions and moved on to this (hobby) problem:
? "Read a dataset with RECFM=U and hexdump it".
?
My results in my target systems (z/OS, MVS3.8j and MUSIC/SP) are following.
? - z/OS ? ? : trivial when done in C from USS.
? - MVS3.8j ?: very simple and done in C using the JCC compiler
? - MUSIC/SP : still not solved (tried with Watcom C and Rexx)
?
MfG
Aigor

Join [email protected] to automatically receive all group messages.