Help with COBOL field definition.
Help with COBOL field definition.
Does any one know ...what is the defination of highlighted field
You do not have the required permissions to view the files attached to this post.
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Help with COBOL field definition.
It has 5 alphanumeric bytes followed by one space followed by 4 alphanumeric bytes followed by a space followed by a single alphanumeric byte.
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Help with COBOL field definition.
Your question is easily answered by looking in the Enterprise COBOL Language Reference manual, which tells you that the PICTURE clause character B is used for
Picture clauses can contain: A, B, E, G, N, P, S, V, X, Z, CR, DB along with 9, 0, /, period, comma, plus, minus, asterisk, and the currency symbol. Some of these are floating, some of them are fixed, some of them can occur just once while others can occur multiple times.For usage DISPLAY, a character position into
which an alphanumeric space is inserted.
Re: Help with COBOL field definition.
Thanks Robert.
Sorry to bother you but I have not seen this kind of picture clause and was taken aback. Thank you so much for your explanation, this gives a lot more to learn.
Sorry to bother you but I have not seen this kind of picture clause and was taken aback. Thank you so much for your explanation, this gives a lot more to learn.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute