Zone Data type

295 pts.
Tags:
AS/400
RPG
I have a field in Physical file of type Zone. what will be its type in following two cases -: 1. If I access this field in RPGLE program then what wll e its type? 2. If I access this field through Exteral descried data strcture then whatwill be its type?

Answer Wiki

Thanks. We'll let you know when a new response is added.

1. The field will be packed decimal (P)
2. The field will be zoned decimal (S)

Note that in the case of #2 there will be two instances of the field and will actually be in both formats. The DS.Field will be zoned decimal while the unqualified Field will be packed decimal.

Bruce Vining
Bruce Vining Services

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following