View previous topic :: View next topic
|
Author |
Message |
naresh_prasanna
New User
Joined: 21 Apr 2006 Posts: 2
|
|
|
|
I am converting programs from ASCII COBOL To VS COBOL II.
I want to know if the following clause can be carried over as such
from ASCII COBOL to VS COBOL II
SELECT [OPTIONAL] file-name
ASSIGN TO implementor-name-1 [ , implementor-name-2 ] . . .
; RESERVE integer-1 AREA
; ORGANIZATION IS SEQUENTIAL
; ACCESS MODE IS SEQUENTIAL
; FILE STATUS IS data-name-1 .
In ASCII COBOL semicolon and comma can be used as delimiters.
I just want to know if the above SELECT clause can be used in
VS COBOL II as such or should i remove the semicolon at the beginning of each clause. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Naresh,
Yes, it can be. But should it? The ","/";" is OK. The RESERVE clause is best omitted and the JCL BUFNO used in the DD (or use the default). Don't know what an Imp.. name is. In II we use the DDNAME from the DD stmt that defines the file. You might have to change that. |
|
Back to top |
|
|
naresh_prasanna
New User
Joined: 21 Apr 2006 Posts: 2
|
|
|
|
Hi,
Thanks for your reply.My concern was whether semicolon/comma
can be used as delimiters in VS COBOL II. The SELECT CLAUSE that i gave was just a sample one . implementor name refers to names like SYSIN , SYSOUT etc. |
|
Back to top |
|
|
|