Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: program check in an assembler program
"Lolobg"  wrote
> I'm currently starting with assembler language
>
> While executing one of my assembler program that read a pds member I've
> got a ABEND SB00 . Message : A program check occured during EXCP
> processing of an I/O request.
>
> The same program works when running under my debugger (ASG smartest).
> I've made many tests changing AMODE/RMODE but I cannot find out what's
> going wrong with it?
>
> This program is reentrant an compiled with AMODE=24 RMODE=24
>
> Could someone explain in simple terms what a program check is ?
> Does anyone have an idea in which way I should investigate?

"Program Check" means that there is something wrong with your
channel program.

The error has been detected by the subchannel and there may be
several reasons for the program check. First of all I think you should
consult the subchannel status word (SCSW) preferably by using
some of the diagnostic tools available on your system.

But I am kind of surprised: If you are just "starting up with asssembler
language" then I/O programming is not what I would expect you to try
for at least many months to come. There should be plenty of data
processing macros available for whatever you may want to do.

In fact I believe that most security systems prevent user programs from
executing their own channel programs, such progrfams must call on
operating system services to have their I/O tasks performed and the
channel programs used will be part of the operating system.

Coding your own channel programs is definitely not recommended
until you have obtained a high level of expertice, maybe not even then.

regards Sven



Report this thread to moderator Post Follow-up to this message
Old Post
Sven Pran
09-09-04 08:56 PM


Re: program check in an assembler program
LH      R0,=F'32000' ...

..this was a quite stupid mistake. Sorry about that.

With :     LH      R0,=H'32000' My program Works.

Many thanks to all .

Lolo



Report this thread to moderator Post Follow-up to this message
Old Post
Lolobg
09-09-04 08:56 PM


Re: program check in an assembler program
 
Coding your own channel programs is definitely not recommended until you hav
e
obtained a high level of expertice, maybe not even then. 

Nor is completely bypassing EXCP and writing one's own IOS device driver, an
d
utilizing the STARTIO interface.

Yet many have done so, the majority of whom utilized a document I authored i
n
1975, and which is still being utilized to this day ... THIRTY years after i
t
was written!


Report this thread to moderator Post Follow-up to this message
Old Post
Peter H.
09-09-04 08:56 PM


Re: program check in an assembler program
On Mon, 06 Sep 2004 08:45:51 -0400 "Lolobg" <laurent.mollet@bgl.lu> wrote:


:>     XR      R0,R0

Useless instruction.

:>     LH      R0,=F'32000'

Look very carefully at this instruction.

--
Binyamin Dissen <bdissen@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

Report this thread to moderator Post Follow-up to this message
Old Post
Binyamin Dissen
09-10-04 01:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASM370 archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:58 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.