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

Test data for Comp & Comp-3 variable


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

New User


Joined: 06 Jan 2006
Posts: 21

PostPosted: Mon May 29, 2006 9:59 am
Reply with quote

Hi...

I have a input file which contains a comp and comp-3 variable..
Please let me how to prepare test data for those variables..


Thanks
Kalaignar
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Tue May 30, 2006 11:35 pm
Reply with quote

Kalaignar,

Please come back with some more detail, and what your confusion is on builing test data. What are the possible values for these fields?

Dave
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Thu Jun 01, 2006 5:09 pm
Reply with quote

I think I understand your problem. Are you having problem in entering values into the input file having binary fields, If so then you should edit the data set in File aid and supply the copybook and directly enter the values in respective fields, In case you do not have File aid , you should supply the fields in hex format overstamping the sign on the last digit if field is COMP or fill in each half byte if COMP-3 and supply 'C' in the last nibble if field is positive and 'D' if negative..
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 Store the data for fixed length COBOL Programming 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top