• Aucun résultat trouvé

ALLOCATING A DATA SET

Dans le document IBM 5280 (Page 74-80)

Operation of the label Maintenance Utility

ALLOCATING A DATA SET

Insert the Diskette That Will Contain the Allocated Data Set (27-02)

If option 1 is selected in the label maintenance option prompt (27 -01), the following prompt is displayed:

Insert diskette to be ALLOCATED and enter

Da t a set nClllle: U IIIIII1 Device addres.s:

Insert the diskette with the space to be allocated. Then enter the name of the data set to be allocated and the diskette device address. Press the Enter key.

The specify number of records prompt (27 -03) is displayed.

27-02

Specify the Number of Records to be Allocated (27-03)

After the data set label is accessed, the following prompt is displayed:

Specify the number of records to be allocated:

Exchange type·

Recol-d length

F'l-es sENTER

\J I I I I I I

27-03

l"----__________________ J

1. Enter the number of records to be allocated. Then use the Field Exit key on the data entry keyboard or the Field+ (Field Plus) key on the typewriter keyboard to exit the field and right-adjust the entry.

Note: If 0 is entered for the number of records to be allocated, all remaining space on the diskette will be allocated to this data set.

2. For exchange type, enter I for I exchange, or enter H for H exchange, or press the space bar to enter a blank for basic exchange.

3. Enter the record length. Valid entries for record length are:

basic ~ 128

H ~ 256

~ 1024 4. Press the Enter key.

If basic or H exchange type is specified, and the diskette is volume-protected, the volume-protected prompt is displayed. Enter the owner ID to continue.

The utility allocates the data set space, then displays the utility-completed prompt (27 - 78).

If I exchange is specified, the specify delete character prompt (27 -04) is displayed.

Specify the Delete Character (27-04)

If you allocate an I exchange data set, the following prompt is displayed:

Specify the delete character you want: U

If no entry is made, then data set cannot contain deleted records.

Pl-ess ENTER 27-04

l~ _________ ---,J

Note: Do not specify a delete character for an object program.

Specify the delete character. (This should be a character that will never appear in the last position of a valid record.) The delete character may be one of these: A through Z, 0 through 9, or . & $

* ; - ,

%

#

and @. Press the Enter key.

If the diskette is volume-protected, the volume-protected prompt is displayed.

Enter the matching owner ID to continue the utility.

The utility allocates the data set with the number of records, the exchange type, and the record length specified. The utility-completed prompt (27-78) is then displayed.

DELETING A DATA SET

Insert the Diskette with the Data Set to be Deleted (27-05)

If option 2 is selected in the label maintenance option prompt (27 -01), the following prompt is displayed:

Insert diskette to be DELETED and enter Data set naille: LlII!IIII

Device address:

Note: The label maintenance utility cannot clear the data portion of the diskette to hex 00. whereas the clear utility can with the data set free option.

Insert the diskette with the data set to be deleted. Enter the data set name and the diskette device address, and press the Enter key.

If the diskette is volume-protected, the volume-protected prompt is displayed.

Enter the matching owner 10 and press the Enter key.

If the data set is write-protected, the write-protected prompt (27 -06) is displayed.

If the data set is an unexpired data set, the data set unexpired prompt (27 -12) is displayed.

If the data set is not write-protected or unexpired, the specify delete type prompt (27 -07) is displayed.

27-05

Deleting a Write-Protected Data Set (27-06)

If the specified data set is write- protected, the following prompt is displayed:

Data set is write protected.

Do you want to delete the data set?

Op t ions aloe 1. Yes Select option:

2. No

27-06

l~ _________ ---...-J

Prompt 27-06 informs you that writing data to the data set is prohibited, but you have the option of deleting it.

If you do not want to delete the data set, enter 2 and press the Enter key. The utility-completed prompt (27 -78) is displayed.

If you do want to delete the data set, enter 1 and press the Enter key. If the data set is expired, the specify delete type prompt (27 -07) is displayed.

Deleting an Unexpired Data Set (27-12)

If the specified data set is unexpired, the following prompt is displayed:

Data set is unexpired.

Do you want data set deleted?

,-:;' i·:·:' l (.::, c: t u p t i u r'l : 27····t2

l~ _______ ~J

If you do not want to delete the data set, enter 2 and press the Enter key. The utility-completed prompt (27-78) is displayed.

Specify the Delete Type (27-07)

If you delete a data set the following prompt is displayed:

What type of delete do you want~

Op t ions al-e

1. Data set dl-OP

2. Data set free

Select option: U F'l-ess ENTER 27-07

l~ _________ ---",J

Specify the delete type and press the Enter key.

The system checks to be sure the data set is expired. If the data set is unexpired, an error occurs. The data set cannot be deleted unless the expiration date in the label is changed or removed.

If you specified a system date during I PL and this date is later than the expiration date, the data set can be deleted.

If the expiration date field contains a date, but a system date was not specified during IPL, the data set cannot be deleted.

If the expiration date field is blank, the data set can be deleted.

If all 9s appear in the expiration date field, the data set can never be deleted unless the date in the label is modified. You must modify the date (use this utility to modify the label), then clear it.

Data set drop deletes the data only. The data set still exists, but it contains no logical records. The label remains for reuse.

Data set free deletes both the data and the label. The data remains in place physically but is inaccessible because the labels are deleted. All reference to the data is removed as though it never existed.

After you enter the delete option, the system then performs the drop or free and then displays the utility-completed prompt (27 -78).

Dans le document IBM 5280 (Page 74-80)

Documents relatifs