若在螢幕上出現一資料為JDAM402S001

其中JDAM402S0來自檔案的taxno2,01來自檔案的fcode2

如何在taxno#資料中包涵二個資料的組合呢?



其方法在DDS中定義taxno時需設定其長度為二資料的總長

A TAXNO# R 11 B 4 69REFFLD(TAXNO)

在rpg中定義faxno#為taxno@及fcode@組合

I DS

I 1 11 TAXNO#

I 1 9 TAXNO@

I 10 11 FCODE@

在將檔案中的taxno2,fcode2分別給taxno@及fcode@即可

C MOVELTAXNO2 TAXNO@

C MOVELFCODE2 FCODE@

arrow
arrow
    全站熱搜

    狼翔月影 發表在 痞客邦 留言(0) 人氣()