View previous topic :: View next topic
|
Author |
Message |
naveenriaz
New User
Joined: 26 Jan 2007 Posts: 3 Location: Chennai, India
|
|
|
|
Hi All,
Queries:
1) How can we check for spaces in PL/1?
Blank 'b' can be used as IF VAR = 'bbbbb'
but what if i need to check for spaces in a larger variable say 50 bytes.
2) How can I call a COBOL subroutine from PL/1?
Thanks in Advance.
Naveen Riaz |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
Back to top |
|
|
naveenriaz
New User
Joined: 26 Jan 2007 Posts: 3 Location: Chennai, India
|
|
|
|
thanks for ur help.. |
|
Back to top |
|
|
roopannamdhari Warnings : 1 New User
Joined: 14 Sep 2006 Posts: 71 Location: Bangalore
|
|
|
|
Hi,
is there any option in PL\1 which serves function similar to Keyword 'SPACE' in Cobol?
In COBOL just we can need to code:
Thanks, |
|
Back to top |
|
|
roopannamdhari Warnings : 1 New User
Joined: 14 Sep 2006 Posts: 71 Location: Bangalore
|
|
|
|
Hi naveenriaz,
Code: |
1) How can we check for spaces in PL/1?
Blank 'b' can be used as IF VAR = 'bbbbb'
but what if i need to check for spaces in a larger variable say 50 bytes. |
try to use below metioned code for this requirement
Code: |
If var = (50)'b';
here [b]b[/b] means space. |
thanks, |
|
Back to top |
|
|
|