View previous topic :: View next topic
|
Author |
Message |
mfhelp Warnings : 1 New User
Joined: 29 Jun 2006 Posts: 33
|
|
|
|
Can we display the content of File record after issuing WRITE command; if NO why? |
|
Back to top |
|
|
the_gautam
Active User
Joined: 05 Jun 2005 Posts: 165 Location: Bangalore
|
|
|
|
yes, we can. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
If you are WRITEing with WORKAREA OPTION, then yes.
but, if you are attempting to display the record area defined in the FD Section, I believe you will find that the record area is pointing to the next record area to be used for writting, thus you have lost addressability to the previously written record
so, no. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Depending on what you're trying to do, you can display BEFORE the WRITE; just make sure the data was moved to the area or buffer. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
the_gautam wrote: |
yes, we can. |
Only if you single buffer an unblocked record. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Should have said the "WS area (if you're using FROM) or the FD rec which resides in the buffer." |
|
Back to top |
|
|
|