Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg: Calculating payroll

Former Member
0 Likes
390

Hi,

UNPACK rgdir-seqnr TO rx-key-seqno.

What is the purpose iof using unpack here?

Thanks in advance,

Sowmya.

Hi,

UNPACK rgdir-seqnr TO rx-key-seqno.

What is the purpose iof using unpack here?

Thanks in advance,

Sowmya.

1 REPLY 1
Read only

suresh_datti
Active Contributor
0 Likes
372

UNPACK rgdir-seqnr TO rx-key-seqno.

The above statement unpacks the packed variable rgdir-seqnr into Character variable rx-key-seqno. In effect the value in rgdir-seqnr is unpacked into rx-key-seqno with leading zeros.

~Suresh