Hi All,
I have just accidently discovered a pecularity of the implied run command,
and was wondering if it is a 'documented' feature or what, and if not, does
it still work on 6.x ?.
I am using 5.5 PP7, and it appears that that any string in the implied run
parameter list which is enclosed in braces { .... } is taken as a comment !!
This is neat, except that it only seems to work on the implied run command
but not with normal MPE commands or command files.
Can anyone shed some light on this ?
Regards,
Tad.
Eg.
:xeq editor.pub.sys {this is a comment} "Text DBCINB1S" {and so is this}
HP32201A.09.00 EDIT/3000 WED, SEP 6, 2000, 6:17 PM
(C) HEWLETT-PACKARD CO. 1993
NOTE: FORMAT=COBOL VALUES SET FOR LENGTH,RIGHT,FROM,DELTA,FRONT
/e
Also (for sceptics),
$oldpass {blah de} {blah de blah} ABCDEF {more stuff in braces}
'ABCDEF'
Where $oldpass is the following test program :-
Identification division.
Program-id. TESTBRACE.
Data division.
working-storage section.
01 CommandLineParms.
03 runparm binary pic s9(4) value 0.
03 infolen binary pic s9(4) value 255.
03 infostr.
05 filler pic x occurs 0 to 256 depending on infolen.
Procedure division.
main.
call intrinsic "GETINFO"
using infostr infolen runparm
display "'" infostr "'"
continue.
end-main.
goback.
END PROGRAM TESTBRACE.
___________________________________________________________
This message and any attachments (the "message") are intended solely for
the addressees and are confidential. If you receive this message in error,
please delete it and immediately notify the sender.
Any use not in accord with its purpose, any dissemination or disclosure,
either whole or patial, is prohibited except formal approval.
The internet can not guarantee the integrity of this message. BNP PARIBAS
(and its subsidiaries) shall (will) not therefore be liable for the message
if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le "message") sont
etablis a l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur.
Toute utilisation de ce message non conforme a sa destination, toute
diffusion ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, BNP
PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
___________________________________________________________
|