Keyboard Shortcuts
Likes
- H390-MVS
- Messages
Search
Re: Show disk usage in TK4-
Strange!!!??? What is Sys1.Proclib doing in the JCL? //DISKMAP? JOB (001),'DISKMAP', //? ? ? ? ? ? CLASS=A,MSGCLASS=A //DISKMAP EXEC PGM=DISKMAP,REGION=1024K //SYSPRINT DD? SYSOUT=* //SYSUT1? DD? DSN=SYS1.PROCLIB,DISP=SHR //DD1? ? ? DD? DISP=OLD,UNIT=3375,VOL=SER=PUB001 // regards; Rahim ??
On Saturday, December 5, 2020, 11:01:39 AM CST, cjar1950 via groups.io <cjar1950@...> wrote:
Patrik, You might find DISKMAP of use. //DISKMAP? JOB (001),'DISKMAP', //? ? ? ? ? ? CLASS=A,MSGCLASS=A //DISKMAP EXEC PGM=DISKMAP,REGION=1024K //SYSPRINT DD? SYSOUT=* //SYSUT1? DD? DSN=SYS1.PROCLIB,DISP=SHR //DD1? ? ? DD? DISP=OLD,UNIT=3375,VOL=SER=PUB001 // Chris -- <cjar1950@...> ---------------------------------------------------------------------------------------------------------------------------------- On Sat, 5 Dec 2020 16:45:45 +0100
"Patrik Schindler" <poc@...> wrote: > Hello, > > today I was wondering, how much unallocated space I have available on the various volumes of the current TK4-. Interestingly, after 15 Minutes of online research, I have not found something similarly easy to the unix ?df¡° command output. Maybe I was searching for the wrong keywords? > > What I found was to use the z/OS unix system services ?df¡° command, which also lists conventional volume statistics. No USS in TK4-. Another approach is a Rexx procedure. Without Rexx being installed, this is also a not easy going. The online help text for TSO does not list any helpful commands. (Commands are listed, that simply do not exist, see the ?copy¡° discussion a few days ago.) > > I have a dim memory of having seen output for disk usages on the TSO prompt on an older version of TK4-, but I can¡¯t recall details. > > Is there an easy method to obtain disk usage statistics in stock TK4-? Easy as in ?run this existing JCL and view printer output¡° or ?use this command in a TSO session¡°, that is. > > Thanks a lot! > > :wq! PoC > > > > > |
Re: Show disk usage in TK4-
Patrik,
You might find DISKMAP of use. //DISKMAP JOB (001),'DISKMAP', // CLASS=A,MSGCLASS=A //DISKMAP EXEC PGM=DISKMAP,REGION=1024K //SYSPRINT DD SYSOUT=* //SYSUT1 DD DSN=SYS1.PROCLIB,DISP=SHR //DD1 DD DISP=OLD,UNIT=3375,VOL=SER=PUB001 // Chris -- <cjar1950@...> ---------------------------------------------------------------------------------------------------------------------------------- On Sat, 5 Dec 2020 16:45:45 +0100 "Patrik Schindler" <poc@...> wrote: Hello, |
Show disk usage in TK4-
Hello,
today I was wondering, how much unallocated space I have available on the various volumes of the current TK4-. Interestingly, after 15 Minutes of online research, I have not found something similarly easy to the unix ?df¡° command output. Maybe I was searching for the wrong keywords? What I found was to use the z/OS unix system services ?df¡° command, which also lists conventional volume statistics. No USS in TK4-. Another approach is a Rexx procedure. Without Rexx being installed, this is also a not easy going. The online help text for TSO does not list any helpful commands. (Commands are listed, that simply do not exist, see the ?copy¡° discussion a few days ago.) I have a dim memory of having seen output for disk usages on the TSO prompt on an older version of TK4-, but I can¡¯t recall details. Is there an easy method to obtain disk usage statistics in stock TK4-? Easy as in ?run this existing JCL and view printer output¡° or ?use this command in a TSO session¡°, that is. Thanks a lot! :wq! PoC |
Re: IBM Assembler History
Hi Harold
yes, thanks.? I do follow the groups.io forum about SATK, although I have not played with it. From the examples I gather that ASMA/SATK does not have a syntax that is different from the other IBM assemblers (apart from the "high level" features of HLASM), is that correct? Essentially, NAME OPERATION OPERANDS REMARKS with NAME being 8 character long and spaces meaningful (Cfr., "High Level Assembler for z/OS & z/VM & z/VSE - Language Reference - Version 1 Release 6"). At least that is what I gathered. All the best Marco -- Marco Antoniotti Somewhere over the rainbow |
Re: IBM Assembler History
These days there is also SATK with its ASMA assembler, written in
toggle quoted message
Show quoted text
Python and runs anywhere Python does. Harold Grovesteen On Sun, 2020-11-29 at 19:30 +0000, Dave Wade wrote:
Marco, |
Re: Real programmers don't write in FORTRAN. FORTRAN is for pipe stress freaks and crystallography weenies. SAYS MY Tk4- COOKIE JAR
WOW !!! you are a second generation programmer !!! Not so much people can say that. My Old Man, was in Radio, so i inherited electronics, but I'm the first one in programming bussiness. But he did machine automation with relay and pneumatic devices im the 60's , that is much close to programming. At my work we have from Cobol, to support bank operations in Spain, to Java for mobile communication devices. As to myself? my weapon of choice is C or C++. But with Covid stay at home, I practized a lot with PL/I (again ). ?Regards, Carlos? |
Re: Real programmers don't write in FORTRAN. FORTRAN is for pipe stress freaks and crystallography weenies. SAYS MY Tk4- COOKIE JAR
Learned FORTRAN on an 1130 at my Dad's workplace on the weekends around 1970. Still play with the simulator. Learned 8080 assembler on my own on Dad's CP/M system. Went to UIUC in the late 70s, had classes in WATFIV, PL/C, Cobol on a 360, and FORTRAN and Pascal on the CDC Cyber 175. Learned 360 assembler while porting CSO's MVT from a 360/75 to running under VM on a 4341. Made a living with TI 990/9900 Basic, FORTRAN, and assembler, TI 960 assembler, VAX/VMS assembler, VMS FORTRAN, VMS Pascal, PDP/11 RSX FORTRAN, Perl, Turbo Pascal and successors, Java in a pile of environments, Python in a few places (Linux/x86, AWS, ESP8266, ESP32), C in a variety of places (RS/6000, Linux/x86, PIC16, ESP8266, ESP32). My favorites ended up being Java and Python, but still like to play with the old stuff (doing the Mandelbrot set in Fortran and PL/I on MVS 3.8J, for example). I'm probably a pariah in this group now. I used the 'J' word :) |
Re: [Marketing Mail] Re: [H390-MVS] Trying to add a printer or punch as sockdev
On Mon., Nov. 30, 2020, 15:35 Jeff Bassett, <bassettj@...> wrote:
That's good advice.? I thought I was, but in truth I was only glancing at things which would have some meaning to an exoerienced operator. I never learned much about printing back then. Thanks for the explanation, and the extra detail is just what I needed to know to do some extra reading :-) Roops |
Re: Real programmers don't write in FORTRAN. FORTRAN is for pipe stress freaks and crystallography weenies. SAYS MY Tk4- COOKIE JAR
I first learnt FORTRAN at a university holiday job in 1970, which was also my first experience of computers. They had a PDPxx (xx=10? can't remember for sure), and they gave me a copy of Daniel D. McCracken's Guide to FORTRAN IV programming, and I basically taught myself FORTRAN (I found a copy on Amazon a few years ago). I wrote a couple of programs for the job, and fortunately they worked first time - I remember thinking that if they didn't work, I would have a lot of trouble debugging them. No comments, GO TOs all over the place, variable names such as AAA, BBB, etc etc (I was yet to learn about maintainability of programs...). Then in 1971 at university I wrote some more FORTRAN in a unit of Applied mathematics, to solve some mathematical problem (they also had a PDP (something)). I remember I didn't get all the bugs out before I had to hand it in... In 1974 I started work at a big company which used a S360, and they taught us PL/I, the main language used there. Unlike that holiday job, they taught the importance of comments, meaningful variable names etc. I used PL/I for nearly a year. Then I transferred to a department where Fortran was used, and I remained in that department, and it's successors (there were reorganisations about every 5 minutes, it seemed....) for the rest of my time at the company. I used both Fortran and PL/I, and occasionally MARK IV, and eventually (after other staff left and the department didn't use so much Fortran) I became the de facto Fortran "go-to" person. When Fortran 77 (VS Fortran) arrived I did most of the testing for it. I have always liked Fortran, and it is my favourite programming language. I don't have much experience of programming languages on the PC. I could never quite get the hang of Visual Basic, with all it's objects, methods, properties etc etc, and I know nothing whatsoever about C. But I've used AutoIt (a bit like a simplified VB) a bit, and find it useful for a few things on my PC. Tim
On Saturday, 28 November 2020, 1:21:24 am AEDT, carlos feldman <carlfelster@...> wrote:
BUT.................. As an engineer and also a programmer, I love Fortran, PL/I, C, and even Quick Basic. But I despise Java, Prolog, Lisp ? What are your programming likes and dislikes ? |
Re: Hercules, MVS speed.
Hello Tom,
Am 30.11.2020 um 06:55 schrieb tomarmstrong255@...: In summary, additional region size is only of benefit if the processing program is able to effectively use it to reduce I/O operations.Thanks for that clarification. Sometimes I¡¯m easy to forget how very ancient some concepts are. :-) :wq! PoC |
Re: [Marketing Mail] Re: [H390-MVS] Trying to add a printer or punch as sockdev
¿ªÔÆÌåÓýRupert, What you are seeing is what is called SETUP operator message. (actually ¨C you probably are NOT seeing it on the console) ¨C ? Remember ¨C think of a REAL computer room ¨C with operators ¨C ? So, think of your REAL printer4 = (JES2 does not know how that is currently ¨C what paper is loaded (forms) , which carriage control tape (FCB) , lines per inch ?etc¡. So ¨C upon the FIRST start ¨C it always ¨C asks with the setup ¨C this has been automated for a couple of printers in the TK4- system in by the script in SYS1.PARMLIB ¨C that starts printer 1,2,3 ¨C ? ? The reason you have to start printer 4 twice ¨C is because ¨C you are answering the SETUP message ¨C (class, FCB, forms,) by replying $S ¨C you are acknowledging that it is set correctly ¨C then ¨C the second is go to work.? ? Now, you are currently sending your output to JES ¨C which is fine ¨C goes to the spool¡. You MAY ¨C if you want ¨C instead ¨C go DIRECTLY to the printer ¨C more info below¡ ? You may use your operator console to issue $DU,PRT4 command ?(I only have 3 printers ¨C here is the output from my $DU,PRT3 command) 00-?????????? $du,prt3??????????????????????????????????????????????????????? ???????????????$HASP000 PRINTER3? 002 INACTIVE F=0001,AUTOM P=N R=LOCAL??? C=6 ????????,STD?????????????????????????????????????????????????????????????????? ???????????????$HASP000??????????????????????? T=QN? ,STD S=Y LIM=0-* Q=C????? ??????????????????????????????????????????????????????????????????????????????? Now, if we wanted to allocate this device ¨C (notice this is address 002) in the display above (the field following the printer name) We would first DRAIN the printer ¨C ($PPRT3) Then a display would show it ONLINE ¨C but not allocated 00-?????????? d u,,,002,1????????????????????????????????????????? ???????????????IEE450I 10.30.45 UNIT STATUS 359?????????????????? C ?????UNIT TYPE STATUS? VOLSER VOLSTATE???????????????? ????????????? ?????002? 3211 O??????????????????????????????????????????????????? ???????????????????????????????????????????????????????????????????? In your job ¨C you would code ? //SYSPRINT??? DD UNIT=002?????????????? you may or may not want to specify DCB info ? This would allow you to write directly to address 002 ¨C without going to the JES spool at all.? ? I realize this may be more than you ever wanted to know ¨C ? ? The $DU,PRTx command shows all the setup information I was describing ? ? Regards -J- ? Jeff Bassett (301) 424-3362 (office) (240) 388-7148 Cell ? Time spent flying? - is NOT deducted from one¡¯s lifespan ? ? ? ? ? ? From: [email protected] <[email protected]>
On Behalf Of Rupert Reynolds
Sent: Monday, November 30, 2020 8:29 AM To: [email protected] Subject: [Marketing Mail] Re: [H390-MVS] Trying to add a printer or punch as sockdev ? Follow-up: I didn't want good-looking prints, but I wanted some facilities not in HercPrt, so I threw together some Python to connect to Hercules and pull out the data I need. It's pretty basic and Hercules reliably ends each line of output with 0x0a, 0x0c (and I'm fairly sure I once saw a 0x0d, but it's not been repeated recently), so it is a simple enough task. Two things surprise me. If I ALLOC DD(SYSPRINT) SYSOUT(Y), print and then FREE it, the output is sent immediately and not held. And sometimes, after a restart, I have to issue /$S PRT4 twice to get output. Would I only have to change HOLD to NOHOLD in JES2PARM:- ??Y PRINT,SYSOUT,HOLD??????????????? HOLD - SYSOUT to get jobs printing to MSGCLASS=Y to print immediately at end of job? Roops ? On 24/11/2020 19:19, Rupert Reynolds via groups.io wrote:
|
Re: Is this a JCL typo?
I take it back DOS has /& at the end and plain // for MVS.? It is not MVS; it is some other unknown system. regards; Rahim? ??
On Monday, November 30, 2020, 08:56:28 AM CST, Rahim Azizarab via groups.io <rahimazizarab@...> wrote:
It is a DOS/VSE card not an MVS. regards; Rahim? ? ? ??
On Monday, November 30, 2020, 08:42:50 AM CST, Fernando M. Roxo da Motta <mvs@...> wrote:
On Mon, 30 Nov 2020 02:03:01 -0800, "Mark L. Gaubatz via groups.io" <mgaubatz=[email protected]> wrote: > Treated as end-of-job, if not a continuation card. ? I thought so too, then I gave it a try in TK4-: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? J E S 2? J O B? L O G 11.36.45 JOB? 776? IEF452I ROXOBR14 JOB NOT RUN - JCL ERROR 1? //ROXOBR14 JOB (ROXO),'EXECUTE IEFBR14', ? //? ? ? ? ? ? NOTIFY=ROXO, ? //? ? ? ? ? ? MSGLEVEL=(1,1), ? //? ? ? ? ? ? REGION=4096K, ? //? ? ? ? ? ? CLASS=A, ? //? ? ? ? ? ? MSGCLASS=X,? ? ? ? ? ? ? ? HELD QUEUE ? //? ? ? ? ? ? USER=ROXO,PASSWORD=? ? ? ? ? GENERATED BY GDL ? ***? ? ? ? ? MSGCLASS=A? ? ? ? ? ? ? ? NON HELD QUEUE *** ? ***------------------------------------------------------------------- ? *** ***? JOB POURPOSE DESCRIPTION *** ? ***------------------------------------------------------------------- ? *** 2? ? //STEP1 EXEC PGM=IEFBR14 ? ? ? 3? ? // * ? ? STMT NO. MESSAGE? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? - ? ? ? 3? ? IEF605I UNIDENTIFIED OPERATION FIELD ? ? ? ? ? Roxo -- ---------------- Non luctari, ludare -------------------+ WYSIWYG Fernando M. Roxo da Motta <mvs@...>? ? ? ? ? ? ? ? | Editor? Except where explicitly stated I speak on my own behalf.|? VI !! ? ? ? ? ? ? ? ? PU5RXO? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | I see text, ------------ Quis custodiet ipsos custodes?-------------+ I get text! |
Re: Is this a JCL typo?
It is a DOS/VSE card not an MVS. regards; Rahim? ? ? ??
On Monday, November 30, 2020, 08:42:50 AM CST, Fernando M. Roxo da Motta <mvs@...> wrote:
On Mon, 30 Nov 2020 02:03:01 -0800, "Mark L. Gaubatz via groups.io" <mgaubatz=[email protected]> wrote: > Treated as end-of-job, if not a continuation card. ? I thought so too, then I gave it a try in TK4-: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? J E S 2? J O B? L O G 11.36.45 JOB? 776? IEF452I ROXOBR14 JOB NOT RUN - JCL ERROR 1? //ROXOBR14 JOB (ROXO),'EXECUTE IEFBR14', ? //? ? ? ? ? ? NOTIFY=ROXO, ? //? ? ? ? ? ? MSGLEVEL=(1,1), ? //? ? ? ? ? ? REGION=4096K, ? //? ? ? ? ? ? CLASS=A, ? //? ? ? ? ? ? MSGCLASS=X,? ? ? ? ? ? ? ? HELD QUEUE ? //? ? ? ? ? ? USER=ROXO,PASSWORD=? ? ? ? ? GENERATED BY GDL ? ***? ? ? ? ? MSGCLASS=A? ? ? ? ? ? ? ? NON HELD QUEUE *** ? ***------------------------------------------------------------------- ? *** ***? JOB POURPOSE DESCRIPTION *** ? ***------------------------------------------------------------------- ? *** 2? ? //STEP1 EXEC PGM=IEFBR14 ? ? ? 3? ? // * ? ? STMT NO. MESSAGE? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? - ? ? ? 3? ? IEF605I UNIDENTIFIED OPERATION FIELD ? ? ? ? ? Roxo -- ---------------- Non luctari, ludare -------------------+ WYSIWYG Fernando M. Roxo da Motta <mvs@...>? ? ? ? ? ? ? ? | Editor? Except where explicitly stated I speak on my own behalf.|? VI !! ? ? ? ? ? ? ? ? PU5RXO? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | I see text, ------------ Quis custodiet ipsos custodes?-------------+ I get text! |
Re: Is this a JCL typo?
On Mon, 30 Nov 2020 02:03:01 -0800, "Mark L. Gaubatz via groups.io"
<mgaubatz@...> wrote: Treated as end-of-job, if not a continuation card.I thought so too, then I gave it a try in TK4-: J E S 2 J O B L O G 11.36.45 JOB 776 IEF452I ROXOBR14 JOB NOT RUN - JCL ERROR 1 //ROXOBR14 JOB (ROXO),'EXECUTE IEFBR14', // NOTIFY=ROXO, // MSGLEVEL=(1,1), // REGION=4096K, // CLASS=A, // MSGCLASS=X, HELD QUEUE // USER=ROXO,PASSWORD= GENERATED BY GDL *** MSGCLASS=A NON HELD QUEUE *** ***------------------------------------------------------------------- *** *** JOB POURPOSE DESCRIPTION *** ***------------------------------------------------------------------- *** 2 //STEP1 EXEC PGM=IEFBR14 3 // * STMT NO. MESSAGE - 3 IEF605I UNIDENTIFIED OPERATION FIELD Roxo -- ---------------- Non luctari, ludare -------------------+ WYSIWYG Fernando M. Roxo da Motta <mvs@...> | Editor? Except where explicitly stated I speak on my own behalf.| VI !! PU5RXO | I see text, ------------ Quis custodiet ipsos custodes?-------------+ I get text! |
Re: Trying to add a printer or punch as sockdev
¿ªÔÆÌåÓýFollow-up: I didn't want good-looking prints, but I wanted some facilities not in HercPrt, so I threw together some Python to connect to Hercules and pull out the data I need. It's pretty basic and Hercules reliably ends each line of output with 0x0a, 0x0c (and I'm fairly sure I once saw a 0x0d, but it's not been repeated recently), so it is a simple enough task. Two things surprise me. If I ALLOC DD(SYSPRINT) SYSOUT(Y), print
and then FREE it, the output is sent immediately and not held. And
sometimes, after a restart, I have to issue /$S PRT4 twice to get
output. Would I only have to change HOLD to NOHOLD in JES2PARM:- ??Y PRINT,SYSOUT,HOLD??????????????? HOLD - SYSOUT to get jobs printing to MSGCLASS=Y to print immediately at end of
job? Roops
On 24/11/2020 19:19, Rupert Reynolds
via groups.io wrote:
|
Re: Real programmers don't write in FORTRAN. FORTRAN is for pipe stress freaks and crystallography weenies. SAYS MY Tk4- COOKIE JAR
Fortran was ad still is a Lingua Franca un the sciences and engineerig community, INTEL in the 1970's distributed PL/M, a downsized PL/I ( it's available today ) as two pass PL/M compiler, for its micros, written in FORTRAN 77 : I mention PL/M, because the first microcomputer operating system CP/M was written in PL/M
you coud use it in most minis and mainfames of the time |
Re: Is this a JCL typo?
¿ªÔÆÌåÓýTreated as end-of-job, if not a continuation card. ? Mark dasdman ? From: [email protected] <[email protected]> On Behalf Of Joe Monk
Sent: Sunday, November 29, 2020 3:17 PM To: [email protected] Subject: Re: [H390-MVS] Is this a JCL typo? ? I think this is probably a continuation ?card of a previous comment card. ? Joe ? On Sun, Nov 29, 2020 at 5:03 PM Bill Lewis <wrljet@...> wrote:
|