View previous topic :: View next topic
|
Author |
Message |
Sakthidevi
New User
Joined: 15 Nov 2019 Posts: 7 Location: India
|
|
|
|
%dcl FindDCB entry;
%FindDCB: Proc(FilNavn) returns(char);
dcl FilNavn Char;
dcl String Char;
String = 'call Call_Ewbdsnm(' !! FilNavn !! ');';
Return(String);
%end;
Can someone explain how the above code will be processed? How Pre-processor statement for PROC be processed? |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1314 Location: Vilnius, Lithuania
|
|
|
|
Have you bothered to look at the rest of the program?
Or RTFM?
Or just tried a small program like:
Code: |
wtf: proc options(main) reorder;
%dcl FindDCB entry;
%FindDCB: Proc(FilNavn) returns(char);
dcl FilNavn Char;
dcl String Char;
String = 'call Call_Ewbdsnm(' !! FilNavn !! ');';
Return(String);
%end;
finddcb(my_dcb);
end wtf; |
and looked at the listing? |
|
Back to top |
|
|
|