最初のページに戻ります。

総合の目次があるページに戻ります。

よく使うマニュアルです

Wiki

updated on 2004.06.23

13.5.DSPPGMREFの使用フィールドの意味

[ Previous ] [ HOME ] [ Upper ] [ Next ]


これは、NewsGroupの投稿記事からの、引用です。(投稿されたTIMさんには、メールで許可を頂きました。公開されたものだから、自由にして良い、とのことでした。)

DSPPGMREFの出力ファイルに出てくる、使用方法のフィールドに入る数字は、どうして、15まで出てくるのか、といった質問に対する答えでした。私も、あまり良く考えていませんでした。TIMさんの回答は、一気に頭の霧を吹き飛ばしてくれました。Thank you, TIM !

Bit 0 0000 - - - -
Bit 1 0001 - - - Input
Bit 2 0010 - - Output -
Bit 3 0100 - Update - -
Bit 4 1000 Unknown - - -

Unknown = when a file is referenced but not opened.

If the program uses the file in a variety of ways then the appropriate bit is set. The value in this field is the numeric representation of this bit string therefore...

Code Bit Usage of file
00 0000 - - - -
01 0001 - - - Input
02 0010 - - Output -
03 0011 - - Output Input
04 0100 - Update - -
05 0101 - Update - Input
06 0110 - Update Output -
07 0111 - Update Output Input
08 1000 Unknown - - -
09 1001 Unknown - - Input
10 1010 Unknown - Output -
11 1011 Unknown - Output Input
12 1100 Unknown Update - -
13 1101 Unknown - Output Input
14 1110 Unknown Update Output -
15 1111 Unknown Update Output Input

1998/10/25


[ Previous ] [ HOME ] [ Upper ] [ Next ]

You are at K's tips-n-kicks of AS/400

 

SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送