Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

File format problem

Former Member
0 Kudos
1,147

Hi,

I have a requirement to down load the data from SAP to output file(Presentation server), in that the formation file we have seperate format.

In that we have some fields,

Field Size Starting point technical

Net amount paid 9(8)v99 26 REGUH - RWBTR

I didn't understand this format 9(8)v99

some other fields we have format S9(15)v999 ,S9(15)v999 .

Could you please let me know about these formats.

5 REPLIES 5

Former Member
0 Kudos
244

9(8)v99 means total length 8 , 2 decimals places

S9(15)v999 length 15 , 3 decimals places

0 Kudos
244

and also we have one more format S9(15)V9991,

Could you plese let me know abt this also?

0 Kudos
244

Hi,

Net amount paid 9(8)v99 26 REGUH - RWBTR

Length 8 decimal 2 Example '123456.12'

some other fields we have format S9(15)v999

Length 15 decimal 3 Example '-123456789012.123'

S9(15)V9991, these is no reprensentation like 9991 there should be all 9999.

These are cobol data characters.

0 Kudos
244

Mainframe represents digits with 9 only and not with any other number.

In your case (S9(15)V9991), I think its a typo.

Former Member
0 Kudos
244

Hi Soumya,

9(8)v99 means this variable is Numeric type of length 8 and 2 digits after decimal.

I guess your legacy system is Mainframes (COBOL).

In COBOL 9(8) means Numeric of length 8

v means decimal point

99 after v means number of digits after decimal point.

Mubeen