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

Regarding REPLACE option in the Copybook


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

New User


Joined: 28 Jul 2005
Posts: 58

PostPosted: Tue Sep 27, 2005 2:33 pm
Reply with quote

Hi Friends,

I am having doubt in Copy book.

FD IN-FILE
LABEL RECORDS ARE STANDARD
RECORDING MODE IS F
BLOCK CONTAINS 0 RECORDS.

01 IN-REC.
REPLACE ==::::== BY ==CCC==.
COPY AAA.
REPLACE OFF.


Can u guys plese let me know about What does the following mean.

REPLACE ==::::== BY ==CCC==.
COPY AAA.
REPLACE OFF.


What does BLOCK CONTAINS 0 RECORDS mean?



I have searched the forum, but i couldn't able to find it. Please let me
know abt that .

Thanks and Regards,
Suganthy.
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Wed Sep 28, 2005 3:14 am
Reply with quote

The replace statement will replace every occurance of :::: with CCCC.
The block contains 0 records lets the operating system determine the number of records per block.
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts SCOPE PENDING option -check data DB2 2
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top