AT¡¡END¤ÏÀµ¤·¤¯Æ°¤¤¤Æ¤¤¤ë¤Î¤Ç¤Ï¡© ¥¿¡¼¥é¥ä¥ó 2015-7-22 0:23 |
Re: AT¡¡END¤ÏÀµ¤·¤¯Æ°¤¤¤Æ¤¤¤ë¤Î¤Ç¤Ï¡© gai 2015-7-23 15:07 |
11 | AT¡¡END¤ÏÀµ¤·¤¯Æ°¤¤¤Æ¤¤¤ë¤Î¤Ç¤Ï¡© |
¥¿¡¼¥é¥ä¥ó 2015-7-22 0:23
[ÊÖ¿®] [ÊÔ½¸] HIGH-VALUE¤ò8888¡¦¡¦¤Ëľ¤·¤Æ¤¦¤Þ¤¯Æ°¤¯¤è¤¦¤Ë¤Ê¤Ã¤¿¤Î¤Ç¤·¤¿¤é¡¢Îɤ¤¤È¤Ï»×¤¤¤Þ¤¹¤¬¡¦¡¦¡¦ ¤â¤È¤â¤È¤Î¤´¼ÁÌä¤Ï ¡ÖºÇ½ª¥ì¥³¡¼¥É¤¬ºï½ü¤µ¤ì¤¿¤é¡¢¥ì¥³¡¼¥É¤¬¤Ê¤¯¤Ê¤ë¤Î¤Ç¡¢AT END ¤Ë¤Ê¤ë¤È»×¤¦¤Î¤Ç¤¹¤¬¡¢ ¤Ê¤¼AT END GOTO ABC-090¤¬Ìµ»ë¤µ¤ì¤Æ¤·¤Þ¤¦¤Î¤Ç¤·¤ç¤¦¤«¡©¡× ¤À¤Ã¤¿¤È»×¤¤¤Þ¤¹¡£ ¡ÖºÇ¸å¤Î¥ì¥³¡¼¥É¤¬DELETE ¤µ¤ì¤¿¤¢¤È¡¢ ºÆÅÙREADÌ¿Îá¤ò¼Â¹Ô¤·¤¿ºÝ¡¢ READ¡¡XXXX¡¡NEXT AT END ¤Îľ¸å¤Ë DISPLAY¡¡¤·¤¿¤È¤³¤í ¡¡¡É£±£°¡É¡¡ ¤¬É½¼¨¤µ¤ì¤Þ¤·¤¿¡£¡× ¤È¤¤¤¦¤³¤È¤Ê¤é¤Ð¡¢ AT END¤Îľ¸å¤ÎDISPLAYʸ¤¬¼Â¹Ô¤µ¤ì¤¿¤È¤¤¤¦¤³¤È¤Ç¤¹¤Î¤Ç¡¢ ¡ÖºÇ½ª¥ì¥³¡¼¥É¤¬ºï½ü¤µ¤ì¤¿¤é¡¢¥ì¥³¡¼¥É¤¬¤Ê¤¯¤Ê¤ë¤Î¤Ç¡¢AT END¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡× ¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£ ¥×¥í¥°¥é¥à¤Î°ìÉôʬ¤·¤«¸«¤¨¤Ê¤¤¤Î¤Ç¡¢¤Ï¤Ã¤¤ê¤È¤Ï¤ï¤«¤ê¤Þ¤»¤ó¤¬¡¢ ¼Â¤ÏGOTOʸ¤ÎÁ°¤ËHIGH-VALUE¤òMOVE¤¹¤ë½èÍý¤â¤¢¤ë¤è¤¦¤Ç¤¹¤·¡¢ Î㤨¤Ð¡¢MOVE¤ÈGOTO¤Î´Ö¤ÎÊ̤ÎÌ¿Î᤬¤¢¤Ã¤ÆÉÔÀµ½½¿Ê¥¨¥é¡¼¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È¤«¡¢ XXXX-KEY2¤¬±Ñ¿ô»ú¹àÌܤÇÄêµÁ¤µ¤ì¤Æ¤¤¤Æ¡¢HIGH-VALUE¤òÆþ¤ì¤¿¸å¤Ë ¤É¤³¤«¤ÇXXXX-KEY2¤ò»È¤Ã¤Æ·×»»¤·¤Æ¡ÊÎ㤨¤ÐCOMPUTE A=XXXX-KEY/2¤Î¤è¤¦¤Ë¡Ë ÉÔÀµ½½¿Ê¥¨¥é¡¼¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È¤« AT END¤ÈGOTO¤Î´Ö¤¬¶õ¤¤¤Æ¤¤¤ë¤Î¤Ê¤é¡¢GOTO¤Ç¥¸¥ã¥ó¥×¤·¤Ê¤¤·ÐÏ©¤¬¤¢¤êͽÁÛ³°¤Î¾ì½ê¤ò¼Â¹Ô¤·¤Æ¤¤¤ë¤È¤« ¤É¤³¤«¤Ë¥í¥¸¥Ã¥¯¤Ë¸í¤ê¤¬¤¢¤ë¤Î¤Ç¤Ï¤Ê¤¤¤«¡¢¤È¤¤¤¦µ¤¤â¤·¤Þ¤¹¡£ |
|
12 | Re: AT¡¡END¤ÏÀµ¤·¤¯Æ°¤¤¤Æ¤¤¤ë¤Î¤Ç¤Ï¡© |
gai 2015-7-23 15:07
[ÊÖ¿®] [ÊÔ½¸] ÀâÌÀ¤ï¤«¤ê¤Å¤é¤¯¤Æ¤¹¤ß¤Þ¤»¤ó¡£ ¾Êά¤·¤Æ¥·¥ó¥×¥ë¤Ë½ñ¤¤¹¤®¤¿¤Î¤È¡¢ ¾ðÊ󳫼¨¤ÎÌäÂê¤ÇÂçÊѤ狼¤ê¤Å¤é¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ ³¬Áع½Â¤¤Ë¤Ê¤Ã¤Æ¤ª¤ê¡¢¡¿Æ¡¡¢»Ò¡¡£Â¹ ¤È¤Ê¤Ã¤Æ¤ª¤ê¤Þ¤¹¡£ ¤¿¤À¤·¡¢¤³¤ì¤Ç¤â¤µ¤é¤Ë¾å°Ì³¬ÁؤΥ롼¥Á¥ó¤¬¤¢¤ê¤Þ¤¹¡£ ¤½¤³¤Þ¤Çµ¿¤¦¤È¥¥ê¤¬¤¢¤ê¤Þ¤»¤ó¤· ¥Õ¥¡¥¤¥ë¥ì¥¤¥¢¥¦¥È¤¬¤É¤¦¤Ê¤Ã¤Æ¤ë¤ó¤À¤È¤«¡¢ £Ä£Â¤Î¾ÜºÙ¤Ï¤É¤¦¤À¤È¤«¤¤¤¦Ïäˤâ¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¤Î¤Ç¡¢ ¤¢¤¤é¤á¤Þ¤¹¡£ ¤Ç¤â¤º¤¤¤Ö¤ó¥¹¥Ã¥¥ê¤·¤Þ¤·¤¿¡£ ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡ª *********************************************************** ¡¡¡PERFORM DELETE-PROC UNTIL WK-DNO NOT = XXXX-DNO. *********************************************************** ¢ *********************************************************** DELETE-PROC SECTION. KK-010. DELETE XXXX-F INVALID KEY MOVE MSG-ABC TO KB-MSG1 MOVE XX-KEY TO KB-MSG2 PERFORM MSG-RTN THRU MSG-EXT. PERFORM READ-PROC. KK-DELETE-EXIT. EXIT. *********************************************************** £ *********************************************************** READ-PROC SECTION. K-010. READ XXXX-F NEXT AT END MOVE HIGH-VALUE TO XXXX-KEY2. READ-EXIT. EXIT. *********************************************************** ¡¡XXXX-KEY2 ¤Ï¿ô»ú¹àÌÜ¡¡½¸ÃĹàÌÜ ¡¡XXXX-DNO 9(06) ¡¡XXXX-KNO 9(02) WK-DNO¡¡9(06) ¤Ï¥Ö¥ì¡¼¥¯¤·¤¿¤È¤XXXX-DNO¤òÂàÈò¤¹¤ë¥ï¡¼¥¯¹àÌÜ |
BluesBB ©Sting_Band