What does the SELECT ASSIGN clause do in this snippet of code: ******************************************** ENVIROMENT DIVISION. ENVIROMENT DIVISION. ******************************************** INPUT-OUTPUT SECTION. INPUT-OUTPUT SECTION. FILE CONTROL. FILE CONTROL. SELECT PRINT LINE ASSIGN TO PRINT LINE. SELECT PRINT LINE ASSIGN TO PRINT LINE. ******************************************** ENVIROMENT DIVISION. ENVIROMENT DIVISION. ******************************************** INPUT-OUTPUT SECTION. INPUT-OUTPUT SECTION. FILE CONTROL. FILE CONTROL. SELECT PRINT LINE ASSIGN TO PRINT LINE. SELECT PRINT LINE ASSIGN TO PRINT LINE. Select one: a. Selecting the internal file name, PRINT-LINE, and assigning it to the internal file/data set, PRTLINE. b. Selecting the external file name, PRINT-LINE, and assigning it to the internal file/data set, PRTLINE. c. Selecting the external file name, PRINT-LINE, and assigning it to the external file/data set, PRTLINE. d. Selecting the internal file name, PRINT-LINE, and assigning it to the external file/data set, PRTLINE
What does the SELECT ASSIGN clause do in this snippet of code:
********************************************
ENVIROMENT DIVISION. ENVIROMENT DIVISION.
********************************************
INPUT-OUTPUT SECTION. INPUT-OUTPUT SECTION.
FILE CONTROL. FILE CONTROL.
SELECT PRINT LINE ASSIGN TO PRINT LINE. SELECT PRINT LINE ASSIGN TO PRINT LINE.
********************************************
ENVIROMENT DIVISION. ENVIROMENT DIVISION.
********************************************
INPUT-OUTPUT SECTION. INPUT-OUTPUT SECTION.
FILE CONTROL. FILE CONTROL.
SELECT PRINT LINE ASSIGN TO PRINT LINE. SELECT PRINT LINE ASSIGN TO PRINT LINE.
Select one:
a. Selecting the internal file name, PRINT-LINE, and assigning it to the internal file/data set, PRTLINE.
b. Selecting the external file name, PRINT-LINE, and assigning it to the internal file/data set, PRTLINE.
c. Selecting the external file name, PRINT-LINE, and assigning it to the external file/data set, PRTLINE.
d. Selecting the internal file name, PRINT-LINE, and assigning it to the external file/data set, PRTLINE.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps