this is the example i was given to work from data length of field field name 2011122 5346219

This is the example I was given to work from:

DATA

LENGTH OF FIELD

FIELD NAME

20111225

8 character date (12/25/2011)

Date of Deposit

TEST

4 characters

Type of Transaction

Y

1 characters (Y/N)

Interest Bearing Account

N

1 characters (Y/N)

Overdraft

000010000

9 digits ($100.00)

Transaction Amount

20111225TESTYN000010000

String1 x(23)
Date1 9(8)
Counter1 9(1)

Set Counter1 to +1.
While (Counter1 is less than 9)
If string1(Counter1) is numeric
Add +1 to Counter1
End-if.
If Counter1 = 8
Move String1(1:8) to Date1
End-if.
End Loop.

This is the data string I must turn to pseudocode.

Fields

2011122505000TESTYN0000120002520540900157000000000BLACK000000000000JOE000512000123456INVERNESS

DATA

LENGTH OF FIELD

FIELD NAME

20111225

05000

8 character date (12/25/2011)

4 character time

(0500)

Date of Deposit

Time of Deposit

TEST

4 characters

Type of Transaction

Y

1 characters (Y/N)

Interest Bearing Account

N

1 characters (Y/N)

Overdraft

000012000

25205409

00157

000000000000JOE

0000000000BLACK

000512000

123456

INVERNESS

9 digits ($120.00)

8 digits (25205409)

5 digits (00157)

15 characters

(Alvarez)

15 characters

(Natera)

9 digits ($5120.00)

6 digits (123456)

15 characters (Inverness)

Transaction Amount

Account Number

PIN Number

Customer Last Name

Customer First Name

Available Balance

ATM Identifier

Bank Branch

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now