paragraph name



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

paragraph name

Postby Vikrant Survase » Sun Jul 18, 2010 3:28 pm

hi
one question was ask in tech. apti.

would anybdy tel me that Paragraph name can't b from th following
123
move
%-rtn
para
Vikrant Survase
 
Posts: 19
Joined: Fri Jun 04, 2010 9:08 pm
Has thanked: 0 time
Been thanked: 0 time

Re: paragraph name

 

Re: paragraph name

Postby NicC » Sun Jul 18, 2010 4:33 pm

Any COBOL Language Reference manual or tutorial should explain the criteria for naming things ike paragraphs, sections and variables. Suggest you look up the relevant section - it is what it is there for. Or just experiment - create a little program with these variations and see what the compiler says.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: paragraph name

Postby ajuatsgp » Sun Jul 18, 2010 11:13 pm

I think it should be MOVE as it is a COBOL defined verb
ajuatsgp
 
Posts: 82
Joined: Thu May 20, 2010 6:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: paragraph name

Postby dick scherrer » Mon Jul 19, 2010 2:53 am

Hello,

Suggest you try this on your system. . . It is a very simple experiment.

Hint - there are multiple errors. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to IBM Cobol