IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

confusion in READ INTO stmt


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dipanshu

New User


Joined: 16 Jan 2006
Posts: 53
Location: pune

PostPosted: Wed Feb 08, 2006 4:48 pm
Reply with quote

READ FILENAME INTO WS-REC

confusion - will it move corrosponding
or simple move

Thanks,
Dipanshu
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Wed Feb 08, 2006 5:02 pm
Reply with quote

HI,

Quote:
READ FILENAME INTO WS-REC

confusion - will it move corrosponding
or simple move

Thanks,
Dipanshu


It is better if you can paste here structure of FILENAME and WS-REC.

Regards
Rupesh
Back to top
View user's profile Send private message
dipanshu

New User


Joined: 16 Jan 2006
Posts: 53
Location: pune

PostPosted: Wed Feb 08, 2006 5:58 pm
Reply with quote

file structure

01 file1
03 x1 pic x(3) value 'the'
03 x2 pic x(3) value 'sun'
03 x3 pic x(3) value 'shi'

01 ws-rec
03 w-x1 pic x(3)
03 filler pic x(1) value ','.
03 w-x2 pic x(3)
03 filler pic x(1) value ','.
03 w-x3 pic x(3)

Read file1 into ws-rec.
Back to top
View user's profile Send private message
raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Wed Feb 08, 2006 5:59 pm
Reply with quote

hi,

it is a group move.. not an elementary or move corrosponding

total record move to ws-rec
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Wed Feb 08, 2006 7:05 pm
Reply with quote

Hi,


I alsoe agree with raghunathns

As it is group move, it will move all total record.

Regards
Rupesh
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Random read in ESDS file by using RBA JCL & VSAM 6
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts ICETOOL to Read records SMF CEF it is... DFSORT/ICETOOL 4
No new posts Read a flat file and update DB2 table JCL & VSAM 2
Search our Forums:

Back to Top