金融行业标准网
ISO/IEC INTERNATIONAL STANDARD 11756 Second edition 1999-06-01 Information technology - Programming languages M Technologies de I'information - Langages de programmation -M Referencenumber ISO/IEC 11756:1999(E) ISO/EC 11756:1999(E) Contents 1. Scope 1 2. Normative references 1 3. Conformance.. 222 3.1 Implementations 3.2 Programs 4. Definitions 4 5.Metalanguagedescription 7 6. Routine routine 9 6.1 Routine head routinehead 9 6.2 Routine body routinebody 10 6.2.1 Level line ievelline 10 6.2.2 Formal line formalline 10 6.2.3 Label label 10 6.2.4 Label separator ls 11 6.2.5 Line body linebody 11 6.3 Routine execution 11 6.3.1 Transaction processing 12 6.3.2 Error processing 13 6.4 Embedded programs 14 7. Expression expr 15 7.1Expressionatomexpratom 15 7.1.1 Variables. 15 7.1.2 Variable name glvn . 16 7.1.2.1 Local variable name lvn 16 7.1.2.2 Local variable handling 16 7.1.2.3 Process-stack 19 7.1.2.4 Global variable name gvn 20 7.1.3Structured system variable ssvn 21 7.1.3.1 ^$CHARACTER 21 7.1.3.2^SDEVICE 23 7.1.3.3 ^$GLOBAL 23 7.1.3.4A$JOB 24 7.1.3.5 ^$LOCK 24 7.1.3.6 A$ROUTINE 7.1.3.7^$SYSTEM 7.1.3.8 ^sZ[unspecified] 7.1.3.9 ssvns specifying default environments 7.1.4 Expression item expritem 7.1.4.1 String literal strlit 26 ?ISO/IEC1999 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the publisher. ISO/IEC Copyright Office ·Case Postale 56 · CH-1211 Geneve 20 · Switzerland Printed in Switzerland i @ISO/IEC ISO/IEC 11756:1999(E) 7.1.4.2 Numeric literal numlit 27 7.1.4.3 Numeric data values 27 7.1.4.4 Meaning of numlit 28 7.1.4.5 Numeric interpretation of data 28 7.1.4.6 Integer interpretation 29 7.1.4.7 Truth-value interpretation 29 7.1.4.8 Extrinsic function exfunc 29 7.1.4.9 Extrinsic special variable exvar 30 7.1.4.10 Intrinsic special variable names svn 30 7.1.4.11 Unary operator unaryop 34 7.1.4.12 Name value namevalue 35 7.1.5 Intrinsic function function 35 7.1.5.1$ASCII 36 7.1.5.2 $CHAR 37 7.1.5.3 $DATA 37 7.1.5.4 $EXTRACT 37 7.1.5.5 $FIND 38 7.1.5.6 $FNUMBER 38 7.1.5.7 $GET 39 7.1.5.8 $JUSTIFY 40 7.1.5.9 $LENGTH 40 7.1.5.10 $NAME . 40 7.1.5.11 $ORDER 41 7.1.5.12$PIECE 42 7.1.5.13 $QLENGTH 43 7.1.5.14 $QSUBSCRIPT 44 7.1.5.15 $QUERY 44 7.1.5.16 $RANDOM 45 7.1.5.17 $REVERSE 45 7.1.5.18 $SELECT 45 7.1.5.19 $STACK 45 7.1.5.20 $TEXT 47 7.1.5.21$TRANSLATE 47 7.1.5.22 $VIEW 48 7.1.5.23 $Z 48 7.2 Expression tail exprtail 48 7.2.1 Binary operator binaryop 48 7.2.1.1 Concatenation operator 49 7.2.1.2 Arithmetic binary operators 49 7.2.2 Truth operator truthop 49 7.2.2.1Relational operator relation 49 7.2.2.2 Numeric relations 50 7.2.2.3 String relations 50 7.2.2.4 Logical operator logicalop 50 7.2.3 Pattern match pattern 51 8. Commands 52 8.1 General command rules 52 8.1.1 Spaces in commands 53 8.1.2 Comment comment 54 8.1.3 Command argument indirection 54 8.1.4 Post conditional postcond 54 8.1.5 Command timeout timeout 55 8.1.6 Line reference lineref 55 8.1.6.1 Entry reference entryref 55 8.1.6.2 Label reference labelref 56 8.1.6.3 External reference externref 57 ii ISO/EC11756:1999(E) ISO/IEC 8.1.7 Parameter passing 57 8.2 Command definitions 59 8.2.1 BREAK 59 8.2.2 CLOSE 59 8.2.3DO 60 8.2.4ELSE 8.2.5FOR 8.2.6GOTO 63 8.2.7 HALT 63 8.2.8HANG 999 8.2.9 IF 8.2.10JOB 8.2.11 KILL.: : 561 8.2.12 LOCK 8.2.13MERGE 68 8.2.14 NEW 8.2.15OPEN 8.2.16QUIT 8.2.17 READ 8.2.18SET 8.2.19TCOMMIT 8.2.20 TRESTART 8.2.21 TROLLBACK 76 8.2.22 TSTART 76 8.2.23USE 77 8.2.24 VIEW 78 8.2.25WRITE 78 8.2.26 XECUTE 79 8.2.27 Z 80 9. Character Set Profile charset 80 10. Character set 81 11.Expression elements 81 11.1 Names 81 11.2 External routines and names 81 11.3 Local variables .. . 81 11.3.1 Number of local variables 81 11.3.2 Number of subscripts 81 11.3.3 Values of subscripts 82 11.4 Global variables .. 82 11.4.1 Number of global variables 28 11.4.2 Number of subscrip

.pdf文档 ISO IEC 11756 1999 Information technology — Programming languages — M

文档预览
中文文档 5 页 50 下载 1000 浏览 0 评论 309 收藏 3.0分
温馨提示:本文档共5页,可预览 3 页,如浏览全部内容或当前文档出现乱码,可开通会员下载原始文档
ISO IEC 11756 1999 Information technology — Programming languages — M 第 1 页 ISO IEC 11756 1999 Information technology — Programming languages — M 第 2 页 ISO IEC 11756 1999 Information technology — Programming languages — M 第 3 页
下载文档到电脑,方便使用
本文档由 人生无常 于 2026-01-05 17:09:59上传分享
友情链接
站内资源均来自网友分享或网络收集整理,若无意中侵犯到您的权利,敬请联系我们微信(点击查看客服),我们将及时删除相关资源。