Calling local routines in VOC

  • T24power
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
16 years 11 months ago #2182 by T24power
Calling local routines in VOC was created by T24power
Can anyone let me know how to call the local routines in my VOC..
I tried like this...

jsh bala ~ -->CT VOC B1
B1
001 PA
002 EX
003 DATA MOKAN1
004 DATA 123123
005 CALL CHECK

jsh bala ~ -->CT BALA.BP CHECK
CHECK
001 SUBROUTINE CHECK
002 $INSERT I_COMMON
003 $INSERT I_EQUATE
004 PRINT 'BALA'
005 END

But the system throws as shown below when i tried to login using voc B1.

CALL: No such file or directory

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #2183 by rajan
Replied by rajan on topic VOC
Use DATA instead of CALL...


jsh bala ~ -->CT VOC B1
B1
001 PA
002 EX
003 DATA MOKAN1
004 DATA 123123
005 DATA CHECK

Please Log in or Create an account to join the conversation.

  • T24power
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
16 years 11 months ago #2184 by T24power
Replied by T24power on topic DECRYPT command
How to use to the DECRYPT command?

I tried like this.but its not working.
PROGRAM RIGHT
$INSERT I_COMMON
$INSERT I_EQUATE

PASS = '��µµé�'
PRINT 'PASSWORD BEFORE DECRYPTING IS':PASS

PASS1 = DECRYPT(PASS,'',1)
PRINT 'PASSWORD AFTER DECRYPTING IS':PASS1
END

Wrong Output:

PASSWORD BEFORE DECRYPTING IS��µµé�
PASSWORD AFTER DECRYPTING IS��µµé�

The decrypted value for ��µµé� is 123456.but the command not working.

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #2185 by rajan
Replied by rajan on topic Decryption method
Specify the decrytion method in the function & include JBC.h

PASS1 = DECRYPT(PASS,'', JBASE_CRYPT_GENERAL)

Please Log in or Create an account to join the conversation.

More
16 years 10 months ago #2186 by revinath
Replied by revinath on topic try this....
Use DATA instead of CALL...

create pgm.file as type M.

revinath

Please Log in or Create an account to join the conversation.

Time to create page: 0.036 seconds