Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Masking equivalents in Cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
venkat_zircon

New User


Joined: 05 May 2009
Posts: 1
Location: Hyderabad

PostPosted: Tue May 05, 2009 5:58 am    Post subject: Masking equivalents in Cobol
Reply with quote

Hi,

I have to write to 2 files using a cobol and ezt program of same logic using the same corresponding eztmac and cobcopy copybooks.

The ezt version of the copybook uses MASKS(V,R,X) and since there is no masking in cobol, the values are not the same in the files(though the data looks the same in both the files, in the unformatted mode we can see the differences caused by storage:( ).
Is there anyway we can implement the masking logic in cobol or is there any other logic for implementing this kind of storage issue????
Plz help icon_cry.gif icon_cry.gif

Thanks in advance...
venkat
Back to top
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue May 05, 2009 6:06 am    Post subject:
Reply with quote

PIC!
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Tue May 05, 2009 6:15 am    Post subject:
Reply with quote

Craq Giegerich wrote:
PIC!
???? icon_question.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Tue May 05, 2009 6:16 am    Post subject:
Reply with quote

Quote:
the values are not the same in the files(though the data looks the same in both the files, in the unformatted mode we can see the differences caused by storage:( ).
Could you please post some data in BBcode format so we can just what you mean by this?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Tue May 05, 2009 6:24 am    Post subject:
Reply with quote

Where did this "MASKS(V,R,X)" come from?
Can you point us to some reference?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us