开云体育

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

which archiving-filing system use ?

 

hi everyone.

?

which file/directory? archiving method are you using ?

Music/ SP mentions

a) archiv/retrev ( not installed )

b) exarch/exrest (not installed)

c) filarch/filrst/filchk ( filrst not installed, filechk does nothing )

d) mfarch/mfarc2/mfcheck/mfrest?

?

Option C seems to be for any user, but is incomplete you can create a file with all your PLI files , but not list or restore them.

for instance

/INFO MUSIC R(SYSTEM)

/COM **** FARC PROCESSING

/FILE 1 NAME(GROUP.ARC) NEW(REP) RECFM(FC) LRECL(80)

/COM /FILE 6 N(GROUP.PRN) NEW(REP) LRECL(133)

/INCLUDE *COM:FILARC

OUTPUT=1

GUEST:*.PLI

this creates group.arc
?
but this fails, with no message

/COM /FILE 1 NAME(GROUP.ARC) LRECL(80) RECFM(FC) SHR
/FILE 1 NAME(GROUP.ARC) SHR
/INCLUDE *COM:FILECH
INPUT=1
INFO=T
NAMES=T
?

Option D it's only for an admin user, and seems to be more like a daily backup task, I wasn't able to trigger a backup to a .mfarc file, for a specific directory or user.

Currently I'm using ftp for backup ( only good for text files, I suppose that binaries can be corrupted ). What do you suggest.

?

BTW I was able to compile and run a few PL/I for newer versions, in PL/I (F), with a few corrections:

1-lines must be between columns 2 and 72 ( obvious is IBM/360 card style)

2-Text MUST be CAPITALS.

3-You can't be a purist and "exit" or "break" a do while loop, you must use infamous (LOL)? GO TO eg: on ENDFILE (SYSYN) GOTO END;

4- You can use matrixes and complex numbers !!! BUT, PL/I has no casting like c, so you must explicity convert your data to complex. For instance SQRT(-1) raises error, but SQRT (-1+0I) works like silk. Well. polimorfism or casting , wasn't invented at the time of the birth of Pl/I.

?


--

Carlos

Argentina


Vmarc

 

Music/SP has support for VMARC CMS compresed files, I found a site that has an application than can run under z/os and window, to compress and decompress files:?


--

Carlos

Argentina


Re: exporting Musicx to windows

 

This trick, was thought to me by some canadian guys in Calgary, We backuped not only to Tapes or Magneto Optical drives, bt to laptops. We used to develop SCADA systems using Unix ( IBM, ALPHA, SUN ), and we used extensively Telnet do remote control and FTP for file transfer.

This systems may have a couple of realtime servers, other 2 historical database servers and an engineering station, all of them UNIX, but we started using cheaper laptop PCs for the administration and engineering. funny thing is I started used ortodox file managers in CMS, then used them in DOS, QNX, Windows, I love the modern ones like Total Commander that can do FTP, edit even connect themselves to cloud storage. We ussually added SAMBA for direct connexction to the servers, and any kind of printer bridge, to print unix reports in regular windows printers.

We also made all user's directories backup, and zip, so you can find with total commander any filename or content, in directories or zipped files, at different checkpoints, and compare 2 files contents. For me is easier to use and less error prone, than versioning systems, specially whan you have engineering projects, comprising drawings, documents, email, firmware, even accounting spreadsheets, all in the same project directory

--

Carlos

Argentina


Re: exporting Musicx to windows

 

>> [...] with typo too small for my eyes ;)
?
Have the same problem :-) Even with a large display, I need glasses to read what's on it.
?
>> Simply typing in your ftp client the directory you want to transfer:
>> for instance? cd /$adm: and voilà you are now in this directory and
>> can transfer files from it.
?
Glad you found a solution (and taught me a new trick by the same token :-) ).
?
Cheers,
?
Rene FERLAND, Montreal
?


Re: exporting Musicx to windows

 

this mornig I found what may be the simplest answer: Using FTP.

You connect to Music FTP server as superuser $000, which puts you in your home directory. in this case /$000: and allows you to transfer all it's files.
How you do the trick ?

Simply typing in your ftp client the directory you want to transfer: for instance? cd /$adm: and voilá you are now in this directory and can transfer files from it.

Probably meedling with ftp server configuration you can go to the root dir musicx:/: and see all the directories, but it's not my purpouse to be "super super user", but to? easily backup user's source files to the pc, linux, etc.


--

Carlos

Argentina


Re: exporting Musicx to windows

 

other reason to have ascii files In my pc, is that I can make my own manuals, mixing VM, Music and my own code This can be nicely formatted, with index, saved to pdf or to Epub format or printed as a reference manual. Text manuals in Music are formatted for a screen, smaller than an A4 paper sheet and with typo to small for my eyes ;)


.--

Carlos

Argentina


Re: exporting Musicx to windows

 

Thank you Carlos for the explanations. You work differently than me and I respect that. :-)
?
Just in case you don't know, the MUSIC command FT (find text) allows you to search for text in the save library files. If you run it from $000 and specify in files $*:*, it will search for the text in all the files of the system. You can also parametrized the search.
?
Best regards,
?
Rene FERLAND, Montreal


Re: exporting Musicx to windows

 

For archiving reason, it's very easy to find in windows environment a keyword, in thousands of files with programs like total commander, being a filename or just a token of text. Vm 370 is 50 years behind of that. If I need to learn about for instance mfarch just look for this word, and I find all the scripts and manuals than reference it. It's the way I ussualy work in engineering projects, and windows or Unix environments. I still remember skimming trough this 1000 pages manuals on a set of 6 manual for vm cms. Today if I need to work for instance with some obscure feature of a real time operating system, I look for what I need in internet, then I can search trough manuals, code examples and user comments in a short time.?
--

Carlos

Argentina


Re: exporting Musicx to windows

 

Hello Carlos,
?
Would you mind telling me why you want to export the EBCDIC and binary files from the save libraries of MUSICX to Windows? It does not make sense to me. As far as backup is concerned, isn't just more easy to copy the emulated DASD itself on Windows? And as for the list of files in the save libraries of MUSICX, a two lines batch job on MUSIC will give it to you.
?
Best regards,
?
Rene FERLAND, Montreal
?
?


exporting Musicx to windows

 

last time I used Music/SP in 2009, I don't remeber if was under Sim-390 or Hercules-390. I made an export of ALL directories files in musicx volume to windows.

It's very handy not only for backup, but for searching information. This export has all directores from $000 to? $xxx including all user local storage.

Thing is I don't remember which software I used to do that, a detail is that all the files have a windows timestamp slightly different each file.

I'm sure it was no FTP client, because this only allows to see the files directly owned by the logged user.

Does anyone remember which software can do this job ?

?

--

Carlos

Argentina


Re: A few questions about maintenance.

 

Hi Carlos,


Peter, thanks for the answer.
You are very welcome.


Sorry, my mistake, I meant SIM-390 instead of H-390.
Unfortunately, I don't have any experience of running MUSIC on SIM-390.


I'll try your suggestions.

I was trying to backup my work files kept in an user directory (for
instance /carlos/PLI/test1) I copy them with ftp, zip them and file
them in the windows environment. Even for simplicity I edit in the
windows host with an editor with ftp capabilities and store them in the
"mainframe".
The MUSIC editor is very easy to use too but you don't automatically
end up with a backup when you use it.


About the tape I'm not so sure, since the last time I used a tape, was
under CMS, where I created a dump file, in tape format in my minidisk,
and send this file to the operator to be processed, or put in a real tape.
As I have read you can "punch" your backup into some virtual environment
like AWS,XMI.
I don't really understand this part.

It is possible to use AWS tapes with MUSIC running on Hercules but I don't
know whether this is possible when running on SIM-390.


Sorry if my questions sound naive, by the last time I use a real s/370 was
1985, so my memory is lost, the manual's long time gone, even the IBM
head office and it's servers in Buenos moved long time ago, so I need to
relearn this stuff.
Don't worry. The last time I used a real s/370 was around 1994. Then I
discovered Hercules around 2003/2004 I think.

--

BTW, there's a railway station and a neighbourhood in Buenos Aires, named
Coghlan, after the irish railway engineer John Coghlan
,_Buenos_Aires
That is very interesting. Thank you. I did not know about this man.
As far as I know, my family were all farmers in 1824 when he was born.
My great great grandfather was born around 1834 in the next county to him.
I must have a connection to his family further back somewhere but there
are few records going that far back in Ireland unfortunately. I didn't
know there were any engineers in my family until my granduncle Jim Coghlan
who was born nearly a hundred years after John Coghlan.

Regards,
Peter Coghlan.


Carlos

Argentina


Re: A few questions about maintenance.

 

Hello Carlos,

I can't say for sure, but if I am not mistaken, Sim390 does not support punch and tapes. However Hercules does. :-)

I checked and it is fairly easy to archive all the files of an account on a tape with MUSIC running under Hercules. Still, given your last message, I am not sure that is what you want to do.

Finally, you can submit a job from the card reader with Sim390, there is a "Reader file..." option in the File menu for that.

Cheers,

Rene FERLAND, Montreal


Re: A few questions about maintenance.

 

Peter, thanks for the answer.

?

Sorry, my mistake, I meant SIM-390 instead of H-390.

I'll try your suggestions.

I was trying to backup my work files kept in an user directory (for instance /carlos/PLI/test1) I copy them with ftp, zip them and file them in the windows environment. Even for simplicity I edit in the windows host with an editor with ftp capabilities and store them in the "mainframe".

About the tape I'm not so sure, since the last time I used a tape, was under CMS, where I created a dump file, in tape format in my minidisk, and send this file to the operator to be processed, or put in a real tape. As I have read you can "punch" your backup into some virtual environment like AWS,XMI.

Sorry if my questions sound naive, by the last time I use a real s/370 was 1985, so my memory is lost, the manual's long time gone, even the IBM head office and it's servers in Buenos moved long time ago, so I need to relearn this stuff.
--

?

BTW, there's a railway station and a neighbourhood in Buenos Aires, named Coghlan, after the irish railway engineer John Coghlan?

Carlos

Argentina


Re: A few questions about maintenance.

 


On saturday doing some FTP transfers being $000, I crashed MUSICX
filesystem running in H-390.
What do you mean by "crashed MUSICX filesystem" and what do you mean
by H-390?


So I learned the lesson and created an user account to do my work.
Ok.


Ussualy I prefer the H-390 option, since I can easily communicate with
the "mainframe" by using FTP, so it's very easy to backup my files
I don't understand what you mean by H-390.


I have a musicx disk backup with all the directories in windows format,
so it's straighforward to search for something.
The MUSICX disk is an OS (ie MVS etc) format volume. Some of the files
on this volume (SYS1.MUSIC.UIDX, SYS1.MUSIC.UL01, SYS1.MUSIC.UL02 etc)
make up the "save library" which contains the files visible to LIBRARY,
DIRECTORY, FLIB, EDIT etc commands when we log in to MUSIC/SP
interactively. Other files on MUSICX such as SYS1.MUSIC.NUCLEUS for
example exist for other purposes and have nothing to do with save
library files.

Maybe you mean you have a backup of the save library files in windows
format?


I know you can restore and backup with Filearc and Filerest, but a few
questions arise.
One way to make a backup is to shut down MUSIC/SP and copy the entire
MUSICX disk using tools in the host operating system (Windows, Linux etc).
It is not easy to restore individual MUSIC/SP files from this kind of
backup though. You have to restore the entire disk in one go.


a) How can I acces system, or other user's? directories like $000, $adm,
etc,? for use them in? ?
I'm not sure what you mean here. You can do "CD $ADM:" for example,
assuming you are logged on to a suitably privileged userid like $000.



b) Is there any means to check and repair a filesystem which went wrong?
LIBINTEG can be used to check the integrity of the save library filesystem.
See MANX AR LIBINTEG for more details.


c) Can I define a dummy tape unit for use with Music, or have to
"punch" the data ?
What do you mean by a dummy tape unit?


d) last but no least, how can an administrator, blank an user password ?
CODUPD CHANGE <user> PW() BPW()

You may have to do "VIP ON" before this in some cases.


Thanks for your help
You're welcome.

Regards,
Peter Coghlan.

--

Carlos

Argentina


A few questions about maintenance.

 

On saturday doing some FTP transfers being $000, I crashed MUSICX filesystem running in H-390.

So I learned the lesson and created an user account to do my work.?

Ussualy I prefer the H-390 option, since I can easily communicate with the "mainframe" by using FTP, so it's very easy to backup my files

I have a musicx disk backup with all the directories in windows format, so it's straighforward to search for something.

I know you can restore and backup with Filearc and Filerest, but a few questions arise.

a) How can I acces system, or other user's? directories like $000, $adm, etc,? for use them in? ?

b) Is there any means to check and repair a filesystem which went wrong?
c) Can I define a dummy tape unit for use with Music, or have to "punch" the data ?

d) last but no least, how can an administrator, blank an user password ?

Thanks for your help

?

?
--

Carlos

Argentina


Re: silly question

 

Hi !!! Thanks for all your repplies.

Finally after reding the JCL and File manuals, I wrote some scripts. That proved wrong !!!!

Making short a long story, if you subit any file Music adds for you the header files, and then sents to system executor ( you can see them in the operator console ) the CRT printings are redirected to the virtual printer file on Windows.

So I wrote the following


a) (compiler )

/SYS REGION=512

/file SYSPUNCH N(\PLI\PLITEST-2.bat\plitest-2.obj) NEW(REPL)

/INC PL1F

/job nogo

/INC \PLI\PLITEST-2.BAT\PLITEST-2.PLI

?

b) (linkedit)

/file lmod n(\pli\plitest-2.bat\MYPROG.LMOD) NEW(REP) lr(128)

/etc recfm(f) space(100)

/file sublibos pds(*pl1f,*mus,*os)

/load lked

/job nomap,nogo,print,stats,mode=os,name=MYPROG

.org 4a00

/INC \pli\plitest-2.bat\PLITEST-2.OBJ


c) (Run)
?
/com? sysprint n(\pli\plitest-2.bat\plitest-2.prn) old append lrecl(133)
/inc xmpl1f
MYPROG n(\pli\plitest-2.bat\MYPROG.lmod)
A=1? B=2? C=3 ;
/END
?
Last but not least a rexx script to manage all this chores:

/INC REXX
PUSH '/INCLUDE PLITEST-2.CMP'
EXEC
PUSH '/INCLUDE PLITEST-2.LNK'
EXEC
PUSH '/INCLUDE PLITEST-2.RUN'
EXEC
PUSH '/FILE F1 N(MYPROG.LMOD) OLD DELETE'
EXEC
?

Which in turn gave the following printout in the printout.txt file in windows
/ID MUSJOB? ? ? ? ? CARLOS? ?010 500 000 R=SYSTEM C=1 F=? ? ? ? ? ? ? ? ? ? ? ? ? ?SUN JUL 19, 2020 19:37
**EXCESSIVE TIME ESTIMATED..ASSUMING? ?300 SERVICE UNITS
/COM 6 n(\pli\plitest-2.bat\plitest-2.prn) old append? lrecl(133)
/FILE LMOD N(\PLI\PLITEST-2.BAT\MYPROG.LMOD) NEW(REP) LR(128)
/ETC RECFM(F) SPACE(100)
/FILE SUBLIBOS PDS(*PL1F,*MUS,*OS)
/LOAD LKED
?
?
/JOB NOMAP,NOGO,PRINT,STATS,MODE=OS,NAME=MYPROG
.ORG 4A00
?
TOTAL LENGTH? -? ?8568
?
ENTRY ADDRESS -? ?5450
BLOCKS? ? ?2 THROUGH? ? 71 WERE USED FOR THE LOAD MODULE.
?
END OF JOB MUSJOB? ?USERID=CARLOS? ? ? ? ? ?AT 19H37M SUN JUL 19, 2020 EXECUTE TIME? ? ? ?1.5 SERVICE UNITS
? ? ? ? ? ?3 CARDS READ? ? ? ?13 LINES PRINTED? ? ? ? 0 CARDS PUNCHED 0 TAPE MOUNTS 0 DISK MOUNTS
?
/ID MUSJOB? ? ? ? ? CARLOS? ?010 500 000 R=SYSTEM C=1 F=? ? ? ? ? ? ? ? ? ? ? ? ? ?SUN JUL 19, 2020 19:37
**EXCESSIVE TIME ESTIMATED..ASSUMING? ?300 SERVICE UNITS
/COM? sysprint n(\pli\plitest-2.bat\plitest-2.prn) old append lrecl(133)
?
?
A= 1.000000E+00? ? ? ? ?B= 2.000000E+00? ? ? ? ?C= 3.000000E+00;
?1.000000E+00? ? ? ? ? ? 2.000000E+00? ? ? ? ? ? 3.000000E+00
Z2=? ? ? ? ? ? ? ? ? ? ? 3.000000E+00
Z=? ? ? ? ? ? ? ? ? ? ? ?3.000000E+00
The Largest Value is? ? ?3.000000E+00
?
END OF JOB MUSJOB? ?USERID=CARLOS? ? ? ? ? ?AT 19H37M SUN JUL 19, 2020 EXECUTE TIME? ? ? ?1.6 SERVICE UNITS
? ? ? ? ? ?3 CARDS READ? ? ? ? 9 LINES PRINTED? ? ? ? 0 CARDS PUNCHED 0 TAPE MOUNTS 0 DISK MOUNTS
?
?
Note that, you don't put a /ID and Password lines on each job, Music does for you.
all the filenames must be fully written.
In my real job I define also a SYSPRINT file, to get all the ouptput in a local file instead of the system printer.
note that in compile and link jobs I can /Include as many .PLI or .OBJ files as I wish, this is very similar to WatC compiler does, but Watc, can detect a /end card, so ir's stop processing so you can compile and link in the same job
?
regards

--

Carlos

Argentina


Re: silly question

 

Thank you, sir.? :-)


Re: silly question

 

There's only one! :)

Its in the music manuals zip available?on the teammpg?website...



Joe


On Sun, Jul 19, 2020 at 12:20 PM Mark Waterbury <mark.s.waterbury@...> wrote:
Joe,

"page 355 of " WHAT "Admin. Ref." manual??

Can you? please provide a URL or link to said manual?

TIA,

Mark S. Waterbury


Re: silly question

 

Please note that both the documentation available on the website
and the online documenation available on the MUSIC/SP demo system
via MAN and MANX is the full documentation for MUSIC/SP 5.1

The publically available MUSIC/SP 6.x Demo system is missing many
features described in this documentation. This includes features
relating to running under VM such as VMSUBM, VMPRINT and VMREADX
for example. My feeling is that because it was intended that MUSIC/SP
Demo system would be run directly on Sim390 or Hercules, not on VM,
these features could be omitted to reduce the size of the demo system.

Regards,
Peter Coghlan.


Hello Mark,

The documentation of MUSIC/SP is available here:



(file?manuals_mus51.zip). Once you unzip the archive, check the PDF
ar_p4.pdf on page 345).

You may also access this documentation on MUSIC/SP itself:

1) logon to $000 and exit the ADMIN menu;
2) at the *Go prompt, type the command: manx
3) TAB your cursor to the AR manual and press Enter
4) at the search pattern line, type SUBLIB.GEN and press Enter
5) TAB cursor the first entry and press Enter

This will give you the pages of the manual online in your $000 session.

Cheers,

Rene FERLAND, Montreal

P.S. -- I learned the second trick from Allen here.


Re: silly question

 

Hello Mark,

The documentation of MUSIC/SP is available here:



(file?manuals_mus51.zip). Once you unzip the archive, check the PDF ar_p4.pdf on page 345).

You may also access this documentation on MUSIC/SP itself:

1) logon to $000 and exit the ADMIN menu;
2) at the *Go prompt, type the command: manx
3) TAB your cursor to the AR manual and press Enter
4) at the search pattern line, type SUBLIB.GEN and press Enter
5) TAB cursor the first entry and press Enter

This will give you the pages of the manual online in your $000 session.

Cheers,

Rene FERLAND, Montreal

P.S. -- I learned the second trick from Allen here.