Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here



I have inherited a Cobol program that is writing barcoded labels in something I have never seen to an IPDS printer.  Here is an example:
01  PP1-LABEL-START2.                         
    03  FILLER           PIC X(15)            
        VALUE "331100000140400".              
    03  FILLER            PIC X(23)           
    03  FILLER           PIC X    VALUE X"0D".
    03  FILLER           PIC X(15)            
        VALUE "331100000330400".              
    03  FILLER            PIC X(14)           
        VALUE "XXXXXXXXXXXXXX".               
    03  FILLER           PIC X    VALUE X"0D".
    03  FILLER           PIC X(20)            
        VALUE "3311000004904009999/".         
    03  FILLER           PIC X    VALUE X"0D".
    03  FILLER           PIC X(22)            
        VALUE "331100000490358XXXXXXX".       

Does anyone know how to interpret this?  Thanks


PP1-LABEL-START2 (on level 01) is a data structure which consists of 9 components (on level 03).
All are character fields (PICTURE X(n)). First of the components is 15 characters long and has value "331100000140400",... third is one character long and contains hexadecimal "0D", ... etc.
What's unclear ?


I see that I didn't provide enough information - sorry.  I am attaching all of the lines that produce the label.  Thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close