View previous topic :: View next topic
|
Author |
Message |
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
I have an query
Procedure division
READ-PARA
Read file1
at end move 10 to ws-status-file-1
move high values to ws-unload-file1
PROCESS-PARA
perform read para
some process using ws-unload-file-1
IF I have only one record in the file1, will high values be moved into the ws-unload-file-1 |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Have you tried this yourself and seen the result. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
will high values be moved into the ws-unload-file-1
|
Yes, when end-of-file (AT END) is detected. . .
At the top of the page is a link to "IBM Manuals". Look in the Language Reference for your version/release of cobol. If there is something in that manual about how the READ processes, post what you found and your doubt and someone will be able to clarify. |
|
Back to top |
|
|
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
The issue has been resolved |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
And what was the solution? |
|
Back to top |
|
|
|