View previous topic :: View next topic
|
Author |
Message |
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
dick scherrer wrote: |
And if the "lesson" was actually about SECTIONs, the point was entirely missed. . . |
Missed by me too, those were paragraph names...... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
CICS Guy wrote: |
There are several who confuse which ID they are signed on as....grin...... |
yeah I'm still dealing with William & CICS Guy mystery...
Quote: |
And if the "lesson" was actually about SECTIONs, the point was entirely missed. . . |
We should have a seperate Forum for 'most confusing posts'..or a award on 'most confusing posts of the day'.. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Anuj D. wrote: |
Quote: |
And if the "lesson" was actually about SECTIONs, the point was entirely missed. . . |
We should have a seperate Forum for 'most confusing posts'..or a award on 'most confusing posts of the day'.. |
A good suggestion, it is more direct than the Off Topic hole..... And heck, might be more fun.... |
|
Back to top |
|
|
mohitsaini Warnings : 1 New User
Joined: 15 May 2006 Posts: 92
|
|
|
|
Hi D.Sch,
The new code (with an additional display statement) that I tried is:
PROCEDURE DIVISION.
0000-MAINLINE.
PERFORM SECTIONA.
DISPLAY 'AFTER PERFORM'.
SECTIONA.
DISPLAY 'INSIDE SECTIONA'.
DISPLAY 'GOING BACK'.
GOBACK.
0000-EXIT.
EXIT.
My new sysout is:
INSIDE SECTIONA
GOING BACK |
|
Back to top |
|
|
mohitsaini Warnings : 1 New User
Joined: 15 May 2006 Posts: 92
|
|
|
|
Hey guys ... let me clear this up .. although the post was started by "RDR" .... but when I tried solving/running his problem/code .... I got some doubts too .... So I also participated in the discussion .... that's all ....
Plz let me know if there is any kind of format/protocol you guys follow while replying to queries.
Sorry for the confusion that was created bcoz of me.
- Mohit |
|
Back to top |
|
|
mohitsaini Warnings : 1 New User
Joined: 15 May 2006 Posts: 92
|
|
|
|
Looking at Anuj's two separate codes (with different positions of GOBACKs) my doubt is clear.
Thanks everyone. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Does that mean that you have clear doubts
or
that you are clear of doubts. |
|
Back to top |
|
|
mohitsaini Warnings : 1 New User
Joined: 15 May 2006 Posts: 92
|
|
|
|
That means .... Clear of doubts |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Quote: |
Sorry for the confusion that was created bcoz of me. |
Not a problem..there are rather good confusions here..like
Quote: |
There are several who confuse which ID they are signed on as |
..
Quote: |
Plz let me know if there is any kind of format/protocol you guys follow while replying to queries. |
Just a good answer in one's reply is my motto..
..and You are welcome if I could be helpful. |
|
Back to top |
|
|
Aji
New User
Joined: 03 Feb 2006 Posts: 53 Location: Mumbai
|
|
|
|
Hi
Eventhough we have given SECTION in the paragrph name, COBOL will not treat it as a SECTION. The SECTION key word should follow the section name.
eg. SECTIONA SECTION.
or TEST SECTION.
Aji |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
thx aji |
|
Back to top |
|
|
|