Re: ASM Program to copy a file

2011-12-10 Thread Bernd Oppolzer
Some day I designed a large ASSEMBLER program which needed to read some QSAM files, and I soon discovered that the out-of-line branches imposed by the EODAD processing violated the clean structure of the program, because the input logic of the many files which were read in parallel was somehow

Automatic reply: ASM Program to copy a file

2011-12-10 Thread Bowers, Greg
Team, I'm currently out of the office. I will return on Monday Dec 19, 2011. If you need immediate assistance while I’m gone, please contact my manager (Peter Moir). Otherwise, send me an email message and I will respond when I return. Thank you, Greg Bowers

Re: ASM Program to copy a file

2011-12-10 Thread Steve Comstock
On 12/10/2011 7:12 AM, Peter Relson wrote: I actually disdain using the linkage stack, for these reasons: BAKR / PR are included in Chapter 10 of the POO: Control Instructions, not Chapter 7, General Instructions; they are semiprivileged instructions I do not believe that that reason has

Re: ASM Program to copy a file

2011-12-10 Thread Edward Jaffe
On 12/10/2011 4:08 AM, Bernd Oppolzer wrote: To solve this problem, I ended up with a GET routine for every QSAM dataset, where the EODAD address is part of the routine. The GET routine looked like this (from memory, I don't have the sources at hand): GET1 PSTART (R10,R14)start macro

Re: ASM Program to copy a file

2011-12-10 Thread Edward Jaffe
On 12/10/2011 6:22 AM, Steve Comstock wrote: Hmmm. Are you advocating use of semiprivileged instructions in application code then? Or only some of them? Which ones are 'safe' or 'OK' to use in standard application programs? Where does one draw the line? Once your minimum supported operating

Re: ASM Program to copy a file

2011-12-10 Thread Martin Truebner
Once your minimum supported operating system enables use of a particular semi-privileged instruction, then you can use it just the same as you would any new macro-based system service provided by that same level of the OS. Well said (with the restrictions Ed pointed out) I see no reason not to

Re: ASM Program to copy a file

2011-12-10 Thread Fred van der Windt
Yup, But the last time I tried it MVCOS was (much) slower than an EXecuted MVC. Don't remember how it compared to a MVCL(E). But it xould help out if you might need to move more than 256 bytes but not more than 4096 bytes. Fred! Sent from my iPad On Dec 10, 2011, at 21:01, Steve Comstock

Re: ASM Program to copy a file

2011-12-10 Thread Steve Comstock
On 12/10/2011 9:44 AM, Martin Truebner wrote: Once your minimum supported operating system enables use of a particular semi-privileged instruction, then you can use it just the same as you would any new macro-based system service provided by that same level of the OS. Well said (with the

Re: Quick test for empty stack?

2011-12-10 Thread Binyamin Dissen
On Sat, 10 Dec 2011 13:09:39 -0500 Robert A. Rosenberg a...@rarpsl.com wrote: :At 12:29 -0600 on 12/09/2011, Robert Ngan wrote about Quick test for :empty stack?: :Someone is getting a S0E0 abend with interrupt code of X'34'. :My memory might be going but since X'E0' = 224 it is in the range

Re: ASM Program to copy a file

2011-12-10 Thread Edward Jaffe
On 12/10/2011 11:41 AM, Steve Comstock wrote: Wow! I didn't know I wielded such power. :-) You da Man! :-D -- Edward E Jaffe Phoenix Software International, Inc 831 Parkview Drive North El Segundo, CA 90245 310-338-0400 x318 edja...@phoenixsoftware.com http://www.phoenixsoftware.com/