• Keine Ergebnisse gefunden

STCPOST Funct;ons

Im Dokument For Program (Seite 103-108)

FORMAT

5. This STCPOST control card indicates that the DEFINE function

;s to define device 790 as ddname SYSUT1 for DD type O.

6. This STCPOST control card indicates that the DEFINE function is to define device 791 as ddname SYSUT2 for DO type O.

7. This STCPOST control card indicates that the FORMAT function is to be executed. The VOlIO parameter specifes that a vol-ume label and VTOC are to be written and that the volvol-ume id

is PAGE01.

8. This STCPOST control card specifies that the subsequent functions are to execute against the device defined by ddname SYSUT2.

9. This STCPOST control card indicates that the FORMAT function

;s to be executed. The VOlID parameter specifes that a vol-ume label and VTDe are to be written and that the volvol-ume id

is PAGE02.

10. This card indicates the end of the job ~Cl deck.

The following example shows how to execute the FORMAT function using the basic DOS ~Cl.

Basic DOS/VSE ~Cl Example

This example uses the basic DOS/VSE JCl to execute the FORMAT function on a 4305 device at address 123.

1 II JOB POSTTEST

2 II EXEC STCPOST,SIZE=AUTO

3 DEFINE ADD DDNAME=SYSUT1 ADDRESS=123 DDTYPE=O 4 FORMAT

5

1*

6

1&

Following is a description of each card in the example job.

1. The JOB card is installation dependent.

2. The EXEC card requests that the program STCPOST be executed.

3. This STCPOST control card indicates that the DEFINE function is to define device 123 as ddname SYSUT1 for DO type O.

4. This STCPOST control card indicates that the FORMAT function is to be executed.

5. This card indicates the end of the control card input.

STCPOST Functions

FORMAT

6. This card indicates the end of the job JCL deck.

10-36 FE-001-4

STCPOST Functions MODECHG MODECHG

The MODECHG function is used to change the format of a 3350 type volume from native mode to compatability mode or from

compatabil-ity mode to native mode.

Function Required Parameters Optional Parameters

MODECHG FORCE

NOTE

MODECHG does not format the volume for use by the oper-ating system (no label or VTaC is created).

Required Parameters

There are no required parameters.

Optional Parameters

FORCE

The FORCE parameter specifies that the operator is not to be asked for confirmation to initialize the device.

Specifying this parameter implies confirmation.

Operation Considerations

The logical volume is formatted in the mode specified by the operating system's Unit Control Block (UCB) or as defined to the

STCPOST Stand-Alone Executive (SAE) during SAE device definition.

All of the tracks are written with the proper Home Address (HA) and Record Zero (RO).

MODECHG does not change any track assignments. All defective pri-mary tracks remain defective with an alternate track assigned.

Defective non-primary tracks become defective alternates.

MODECHG formats all of the CE tracks of a 3350 device in native mode.

• The MODECHG function requires a DO card type O.

• The MODECHG function can not be executed using the STCPOST OS/VS JCL procedure, use the STCPOSTO procedure.

• MODECHG should not be used if the operating system supports 3350 type devices in native mode. Use the appropriate system

STCPOST Funct;ons MODECHG

• MODECHG must be run on both logical volumes if the device is to be formatted in the 3330-1 compatability mode.

Operation Example

The following example shows how to execute the MODECHG function using the basic OS/VS JCL.

This example uses the basic OS/VS JCL to execute the MODECHG function on a 3350 type device at address 285.

1 I/jobname JOB acct-info,name, ...

2 //stepname EXEC PGM=STCPOST 3 I/SYSPRINT DO SYSOUT=A

4 //SYSIN DO *

5 DEFINE ADD DDNAME=SYSUT1 ADDRESS=285 DDTYPE=O 6 MOOECHG

7 II

Following is a description of each card for the example job.

1. The JOB card is installation dependent.

2. The EXEC card requests that the program STCPOST be executed.

3. The SYSPRINT DO card describes the printed output file.

4. The SYSIN DO card describes the control card input file.

5. This STCPOST control card indicates that the DEFINE function is to define device 285 as ddname SYSUT1 for DO type O.

6. This STCPOST control card indicates that the MODECHG func-tion is to be executed on the device at address 285.

7. This card indicates the end of the job JCL deck.

Basic DOS/VSE JCL Example

This example uses the basic DOS/VSE JCL to execute the MODECHG function on a 3350 device at address 350.

1 II JOB POSTTEST

2 II EXEC STCPOST,SIZE=AUTO

3 DEFINE ADD DDNAME=SYSUT1 ADDRESS=350 DDTYPE=O 4 MODECHG

5

1*

6

1&

Following is a description of each card in the exa"1l1e job.

1. The JOB card is installation dependent.

10-38 FE-001-4

STCPOST Functions

MODECHG

2. The EXEC card requests that the program STCPOST be executed.

3. This STCPOST control card indicates that the DEFINE function is to define device 350 as ddname SYSUT1 for DD type O.

4. This STCPOST control card indicates that the MODECHG func-tion is to be executed.

5. This card indicates the end of the control card input.

6. This card indicates the end of the job JCL deck.

STCPOST Functions OPTION

OPTION

The OPTION function specifies STCPOST function execution options.

The options specified apply until changed by another OPTION func-tion control card.

Function Required Parameters Optional Parameters

OPTION ABEND=xxxx

BALRWAIT

DATACNT=nnnnn DATAFMT=ftIM DDNAME=SYSUTnnn IOCHKINOIOCHK

IODELAY=nINOIODELAY IOSTATINOIOSTAT LOGINOLOG

REPEAT=nINOREPEAT RESET

STCINOTSTC

SUMMARY I NOSUMMARY

Im Dokument For Program (Seite 103-108)