i have copy book like
01 XX-MST-SEGMENT-AREA.
03 XX-MST-APPLIC-POINTER OCCURS 0005.
05 XX-MST-APPLIC-CODE PIC X(2).
05 XX-MST-ID-SEQ.
07 XX-MST-APPLIC-SEG-ID PIC X(2).
07 XX-MST-APPLIC-AA-SEQ PIC S9(3) COMP-3.
05 XX-ACCT-INFO PIC X(37).
05 XX-MST-APPLIC-DATE PIC X(8).
05 XX-MST-APPLIC-ACTV-CODE PIC X.
05 FILLER PIC X(25).
05 XX-MST-APPLIC-NEW PIC X.
05 XX-MST-APPLIC-DELETE PIC X.
05 XX-MST-APPLIC-CONT PIC X.
I Want to write XX-ACCT-INFO PIC X(37) into output file field...for this how to declare the working variables in my COBOL pgm.
please tell me the declaration.