Thursday, April 12, 2007

TACL Security Parameters

The build in TACL Variables are follows.
#PMSEARCHLIST

- A SearchList is list of subvolumes that the TACL software uses to find a program file when the program is invoked using a file name that is not fully qualified.

#TACLSECURITY
It returns a pair of chars , that represent a TACL security.

The first character represents the criterion that determines whether ot not to allow a process to open the TACL process's $RECEIVE for writing.

The second character determines whether to allow an opener with a qualifying name to transfer data to or from #SERVER.

Tuesday, April 10, 2007

Process Structure in Tandem

When a Process is created, it occupies space in Virtual Memory.
OS divided memory into six sections for Application/system processes.

1. System code space
2. System Libary space
3. System Data Space

4.Application code space
5.Application Data space
6. Application Library space

Code Space - It contains program instuctions and constants from the OBJ file.
Data Space - It is used by a process to store and manipulate Data.
Library Space - Its used by a process to store any routines loaded from libraries

Monday, April 09, 2007

Things to remember in Object Oriented programming


Important things to remember:


Good programs are
Flexible
Robust
Extensible
Easy to understand
Easy to maintain


An object oriented program is a collection of interacting objects.


Good OO programs are characterized by
Encapsulation
information hiding
modular design


Reliance on public method contracts not internal implementation
Loose coupling between objects.
High levels of abstraction -- polymorphic behavior


A program starts by creating one object whose job it is to create all objects that are initially needed.


Objects can create other objects.
Objects can be disposed and cease to exist.
Objects do not need names to function.
Objects should only know the minimum of what they need to know and should do only the minimum of what they need to do.

This is called "loose coupling". Don't make "god objects".


Objects should expose the minimum information and methods needed by the rest of the program. This is another aspect of loose coupling.


When using an object, do not concern yourself with how its methods are implemented, only on what that class defines as the function of that method. Thus a method involves more than just code, but also a "contract" with the rest of the program.

Thursday, April 05, 2007

Gathering System Information

To Display the information such as System Name, Number and Operating System Release
numbers and the current SYSnnn, use the SYSINFO Command.

On Nonstop K series system, sysinfo command may not work properly.

We can use RLSEID file which contains system numer and release version.

ex1 :-

FUP COPY $system.sys01.rlseid

FUP COPY $system.sys04.rlseid