ca.portal.admin

Re:Mulitasking & DC-COBOL Programs

Discussion created by ca.portal.admin on Nov 21, 2006
Hello All:

While going through an SVC Dump I noticed that a DC-COBOL Program was
running in SYSTEM Mode in a multitasking environment. I checked the
system generation and all of the DC-COBOL programs were defined with
MPMODE SYSTEM. Probably because whoever defined these programs copied
an existing definition way before multitasking was implemented?

These programs are not causing any problems that we are aware of but I
am pretty sure that DC-COBOL programs should not be running in SYSTEM
MODE. I think that they should be defined with MPMODE ANY?

Any other Multitasking Sites out there? Can you check your DC-COBOL
programs to see what MPMODE they are running in?

Bill Allen
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: CALL IDMSCOMP BEFORE FINISH
"We got caught with this on an SQL query which was using a table
procedure. If a big query was run the storage pool would fill up. The
problem was resolved when we added in the extra calls to COMP/DCOM.

Steve Terry
BT

'This post represents the views of the author and does not necessarily
accurately represent the views of BT.'
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 1800000

This electronic message contains information from British
Telecommunications plc which may be privileged and confidential. The
information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this
information is prohibited. If you have received this electronic message
in error, please notify us by telephone or e-mail (to the number or
address above) immediately.-----Original Message-----
From: IDMS Public Discussion Forum [mailTo:IDMS-L@LISTSERV.IUASSN.COM]
On Behalf Of Casey, Don J
Sent: 22 November 2006 16:53
To: IDMS-L@LISTSERV.IUASSN.COM
Subject: Re: CALL IDMSCOMP BEFORE FINISH

First some context.

The work areas will be released by the end-of-task processing, so there
are only a few very specific circumstances where this matters.

For external run-units, the FINISH will cause (internal) task
termination, and therefore cleanup, therefore no issue.

For truly interactive online tasks, same thing.

It is only for those long-running DC tasks and local mode programs which
go through repeated BIND RU/FINISH sequences where the work areas start
to pile up.

Having said that, in looking at the IDMSCOMP/IDMSDCOM source it appears
they are doing two #GETSTGs.

One is for a work area of 32 bytes (plus storage housekeeping overhead
of another 12 bytes or so).

The second is for an area equal to largest record size in the subschema
+ 8 bytes (plus housekeeping).

Add an RLE and an RCE for each chunk of stg acquired.

Don Casey
APL Limited

Outcomes