Application Programming Basics Flashcards

1
Q

Dataset

A

A unit of data storage or retrieval consisting of one or more data records

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where in standard computing environments, it is a directory, what is it in mainframe?

A

A catalog

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a catalog?

A

A dataset with information about other datasets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What type of information does a catalog keep about datasets?

A

Type, location, size, and format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the “root”, or “base” catalog structure called?

A

The master catalog

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the master catalog contain?

A

Entries for datasets and for subcatalogs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What else is a subcatalog referred to as?

A

User catalogs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do places organize catalogs to improve performance, security, and manageability.?

A

They create user catalogs to reduce the number of entries in the master catalog

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Using which application would you list a dataset?

A

ISPF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What utility would you use to list datasets?

A

DSLIST utility

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How are dataset names organized?

A

Hierarchical qualifiers. ex. zfs.S01.DEV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can RACF be used to enforce security on a dataset

A

At the hierarchical level, for example, all datasets beginning with ZFS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When allocating a dataset, how do you specify space?

A

In blocks, records, tracks, or cylinders

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Blocked data sets

A

Contain multiple records of fixed or variable record size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Unblocked data sets

A

Contain blocks of single records

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

On what is DASD data stored?

A

Tracks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Tracks

A

A unit of space on a DASD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

How are tracks described?

A

As the number of bytes that can be written by a single read-write head in one position over the surface of a disk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the maximum number of bytes on a 3390 track if a single record is written?

A

56,664

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Storage waste occurs if the size of the track ____

A

is not a multiple of the block size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What’s a more accurate way to measure the amount of storage used by a dataset?

A

The number of tracks whose size is consistent for a device type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the largets unit of allocation?

A

A cylinder, made up of several tracks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Name that acronym
AM

A

Access Method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Name that acronym
BSAM

A

Basic Sequential Access Method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Name that acronym QSAM
Queued sequential access method
26
VSAM
Virtual Storage Access method
27
BDAM
Dasic Direct access method
28
BPAM
Basic partitioned access method
29
What is the simplest of basic data storage types?
flat file
30
How is a flat-file accessed?
Flat files are usually QSAM but are occasionally BSAM data sets.
31
PDS
Partitioned data set
32
Partitioned data set
A data set that is divided into sections called members.
33
A PDS has a directory of its members that can contain addition information. What is this called?
Statistics
34
True or False A Members of a PDS inherit the same format type?
True
35
What is the use case for PDS?
PDS are used to store and organize most of the source and executables required to run and manage applications on an enterprise system.
36
Is the following record a PDS or a member of a PDS? IBMUSER.JCL(ARUNREP)
Member
37
Is the following record a PDS or a member of a PDS? IBMUSER.JCL
PDS
38
When is a PDS referred to as libraries?
When they use a naming convention indicating the type of source or module that the PDS contains
39
How are libraries often organized?
Into production or application groupings
40
When organizing libraries into groupings, what type of grouping are often used?
site-specific naming conventions, such as PROD.APP.librarytype or DEVEL.APP.librarytype.
41
How is library security managed?
Through RACF or a similar security system
42
SCM
Software configuration management
43
How is access to the underlying PDS and migration of the PDS members between environments managed?
Using a Software configuration management (SCM)
44
VSAM
Virtual storage access method
45
Virtual storage access method
VSAM) refers to the access method software for direct processing by key or record number, or sequential processing of fixed and variable length records.
46
CLUSTER
Used for certain VSAM files such as the Keyed Sequential Data Set (KSDS)
47
Why do certain VSAMs get referred to as a cluster?
They consist of an index file and a data file. These two components constitute the cluster.
48
Whihc IPFS option displays datasets?
3.4
49
When accessing option 3.4 and the enter key is pressed, the system initially accesses the ______, which contains a record of all data sets on the system.
Master Catalog
50
Datasets are displayed including the space allocation, which is specified in _________
Block, tracks, or cylinders
51
A dataset format of FB is common and indicates that data within the dataset is ____________
Fixed and blocked
52
What are other VSAM file organizations?
Entry Sequenced Data Set (ESDS) Relative Record Data Set (RRDS) Linear Data Set (LDS)
53
Why is VSAM used by many applications and systems?
Compared to DBMS, it provides direct and indexed access with low overhead
54
What considerations should a system or application use when using a VSAM instead of a DBMS?
Issues such as record locking, logging, and recovery facilities
55
T/F VSAM datasets are only used in database structures?
False
56
VTOC
Volume Table Of Contents
57
Volume Table Of Contents
VTOC is searched to find out where the data set resides on the disk.
58
When does the system search the VTOC?
After z/OS searches the catalog to find the volume where the dataset resides
59
What does a dataset name consist of?
A number of qualifiers
60
What is the maximum character limit of a qualifier?
8
61
Most organizations use which product to facilitate the migration of the source code between development, test and production environments, and to provide versioning, history, and audit trails?
Software Configuration Manager
62
True or False A PDS is a type of VSAM data set.
False A PDS is a partitioned data set, which is not a VSAM data set.
63
T/F A Key Sequence Data Set (KSDS) is a type of VSAM data set.
True
64
T/F VSAM data sets are only used in database structures.
False VSAM datasets are the lower-level data stores for databases, but they can also be used, outside of a database management system (DBMS), for direct access by application programs.
65
T/F A VSAM cluster consists of data files and indexes.
True
66
What does a database consist of to be considered a database?
A combination of a structured data store and a database management system (DBMS).
67
What is a database management system (DBMS)?
Software used to allow users and application programs to access and use databases.
68
When using a database to store and access data, what communicates with the DBMS to enable it to access and manipulate managed data?
The application
69
An enterprise quality database manages what?
Concurrency Security Recoverability
70
What is data concurrence?
The ability of multiple applications or threads to update or read the same data in a consistent manner
71
What is data security?
The control of access and operations to sets of data within the database
72
What is data recoverability?
Recoverability and the maintenance of logs, journals, and backups to enable the recovery of data to a previous point in time or to a previous state in the event of failure, error, or disaster
73
What are two of the more popular DBMS software?
IMS Db2
74
IMS
Information Management System
75
Information Management System
A family of IBM products that consists of a database manager, transaction manager, and system services that support access to data in hierarchical databases.
76
Db2
IBM's relational database product offering.
77
What three database models are most prevalent?
Hierarchical, network, relational, and object
78
Information Management System (IMS) is what model of a database system?
Hierarchical
79
Db2 is what model of a database system?
Relational
80
IMS TM
Information Management System Transaction Manager
81
IMS DB
Information Management System Database Manager
82
Information Management System Database Manager
The database
83
Information Management System Transaction Manager (IMS TM)
The transaction manager
84
What defines a hierarchical database model?
Data segments are organized in a tree structure with a parent-child relationship
85
Depending on the type of IMS database, the underlying data sets can be a mix of _________
VSAM and flat types
86
True or false Databases can have a logical relationship between separate IMS databases?
True - however this is managed by the application
87
What is IMS DBs main strength?
its ability to contain large amounts of integrated data and process it quickly and efficiently.
88
DL/I
Data Language 1
89
Data Language 1
A data language
90
True or False When using a DBMS, the programmer must code for logging, file locking, etc?
False
91
True or False IMS programs can directly access the database?
True
92
Using what method can CICS programs directly access the IMS database?
CICS/DLI
93
What does WebSphere Application Server use to access IMS Databses?
ODBA
94
ODBA
Open Database Access
95
True of False Db2 is unique to IBM products?
False - It's available on Linux, UNIX, Windows and z/OS
96
What language is employed by Db2?
SQL - Structured Query Language
97
Name a few ways Db2 is accessible
Traditional transaction servers such as CICS and IMS TSO, z/OS UNIX, or batch programs Using WebSphere Application Server Db2 stored procedures Db2 Distributed Data Facility (DDF)
98
DDF
Db2 Distributed Data Facility
99
While programming Db2 is standard SQL, what are they compiled to at runtime?
Db2 calls
100
What considerations are needed to be made for a solid database?
Concerrency Locking Security Availability Multimedia data Stored procedures in Java and mainframe languages
101
True or False 3rd party database tools can coexist with IBM data products?
True - They use basic operating system data set storage
102
Which data language is used to access IMS databases?
DL/1
103
Db2 database information is retrieved using which language?
SQL
104
True or False Db2 data can be accessed using both batch and online applications
True
105
True or False Db2 is a hierarchical database
False - Relational
106
True or False A z/OS system could have both Db2 and IMS running at the same time
True
107
True or False Db2 can only be accessed from z/OS
False - Outside of z/OS using Db2 DDF.
108
What is the z/OS equivalent of a file? Datafile File store Database Data set Data store Data mart
Dataset
109
What are the three traditional units of allocation used in a z/OS system? Record Units Block Cylinder Byte Track
Block Cylinder Track z/OS allocates and maintains online data storage by using units of blocks, tracks, and cylinders.
110
When data set content is accessed, how is it read by the system?
An appropriate access method is used for the data set type. An appropriate access method (such as QSAM or VSAM), which defines how the data is stored and retrieved, is used.
111
Which type of data set allows you to view statistics that display when members were last modified?
Partitioned data set When browsing or editing a partitioned data set using DSLIST (option 3.4 in ISPF), a member list containing statistics is shown, including when the member was last modified.
112
Which DASD item contains information relating to the location of all data sets on that volume?
VTOC To locate a dataset, the operating system will generally interrogate a z/OS catalog to find the volume where the dataset resides. Having found the correct volume, its table of contents, the VTOC, is searched to find out where exactly on this disk the dataset resides.
113
A PDS that is used to store source or executable code on z/OS is called what?
A library A PDS that is used to store source or executable code on z/OS is often called a library.
114
Database management systems manage data stored in databases. Which of the following are two popular IBM DBMS that run on z/OS?
Db2 IMS Db2 and IMS (or IMS Db) are the two IBM DBMs that run on z/OS. IMS TM is a part of IMS that manages transactions (not databases). IDMS is a DBMS offered by Broadcom.
115
Programs will use a data language to access Db2 resources. What is the name of this data language?
SQL Structured Query Language (SQL) is used to access resources of relational databases, including Db2.
116
What standard data language is used to access and manage data in IMS?
DL/I is the standard data language used to access and manage data in IMS.