Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
can comma and semicolon as delimiters in vs cobol ii ??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
naresh_prasanna

New User


Joined: 21 Apr 2006
Posts: 2

PostPosted: Fri Apr 21, 2006 10:32 pm    Post subject: can comma and semicolon as delimiters in vs cobol ii ??
Reply with quote

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
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Apr 22, 2006 4:02 am    Post subject:
Reply with quote

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
View user's profile Send private message
naresh_prasanna

New User


Joined: 21 Apr 2006
Posts: 2

PostPosted: Sat Apr 22, 2006 3:23 pm    Post subject: Re: can comma and semicolon as delimiters in vs cobol ii ??
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us