Memorex LOCK - VERSION 2-24 Informacje Techniczne Strona 267

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 568
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 266
DD Statements for In-Stream Datasets
User Reference
Connectivity Systems, Inc.—Copyright © 2006
Use Pursuant to Company Instructions
6-51
Example In the following example, the AJS00987 statement is read as in-stream
data using SYS005. Because the ddname is itself a logical unit
specification, no OPTION statement is necessary.
* //SYS005 DD *
// EXEC PGM
AJS00987
/*
In the following example, LOG JE0987 and SP 9876 are read as in-stream
data using logical unit SYS005.
* //CARDIN DD DATA,OPTION=SYS005
// EXEC PGM
LOG JE0987
SP 9876
/*
SYSnnn Specifies a programmer logical unit. Use SYSnnn
if the ddname itself is not a logical unit
specification. For example, if your COBOL
program includes the following statement:
SELECT CARD-IN ASSIGN
SYS005-UR-2540R-S-CARDIN.
then the DD statement would be:
* //CARDIN DD *,OPTION=SYS005
or
* //CARDIN DD DATA,OPTION=SYS005
If no COBOL external name is used, do not use
OPTION, since the ddname is itself a logical unit
specification. For example, if your COBOL
program includes the following statement:
SELECT CARD-IN ASSIGN SYS005-UR-2540R-S.
then the DD statement would be:
* //SYS005 DD *
or
* //SYS005 DD DATA
Parameter Definition
Przeglądanie stron 266
1 2 ... 262 263 264 265 266 267 268 269 270 271 272 ... 567 568

Komentarze do niniejszej Instrukcji

Brak uwag