View previous topic :: View next topic
|
Author |
Message |
hemachandran27
New User
Joined: 28 Feb 2007 Posts: 6 Location: chennai
|
|
|
|
What is the use of unspec builtin fucntion in pl1? |
|
Back to top |
|
|
letmeknow
New User
Joined: 10 Dec 2005 Posts: 5 Location: chennai
|
|
|
|
UNSPEC(varable)
UNSPEC returns a bit string that is the internal coded form of 'varaible' .
'variable' may be Scalar, array, structure, or union expression.
..krishna |
|
Back to top |
|
|
hemachandran27
New User
Joined: 28 Feb 2007 Posts: 6 Location: chennai
|
|
|
|
Thanks a lot krishna.Whether it's a psuedo varaiable |
|
Back to top |
|
|
letmeknow
New User
Joined: 10 Dec 2005 Posts: 5 Location: chennai
|
|
|
|
Check these examles...
1.
DCL BYTE CHAR(1);
IF UNSPEC(BYTE) = (8)'1'B
THEN WRITE FILE(NOS) KEYFROM(NEWNO) FROM(NAME);
2.
DCL MAXSTOR FIXED BINARY (31,0);
UNSPEC(MAXSTOR)='00000000'B;
hope it will clear ur doubt..
...krishna |
|
Back to top |
|
|
|