Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Usage of pre-processor statement in procedure name?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Sakthidevi

New User


Joined: 15 Nov 2019
Posts: 5
Location: India

PostPosted: Thu Nov 28, 2019 4:08 pm    Post subject: Usage of pre-processor statement in procedure name?
Reply with quote

%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
View user's profile Send private message

prino

Senior Member


Joined: 07 Feb 2009
Posts: 1167
Location: Vilnius, Lithuania

PostPosted: Thu Nov 28, 2019 6:47 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Usage of external condition Sakthidevi PL/I & Assembler 1 Sat Nov 23, 2019 1:46 pm
No new posts Usage of Like statement in PL/I Sakthidevi PL/I & Assembler 3 Fri Nov 15, 2019 11:22 pm
No new posts COBOL -DB2 SQL code to have GROUP BY ... vinu78 DB2 21 Wed Oct 23, 2019 7:00 pm
No new posts FORMATTIME - CPU usage Nileshkul CICS 4 Sun Aug 18, 2019 5:22 am
No new posts ALTERNATE RECORD KEY usage for KSDS AIX sophia.lee COBOL Programming 1 Thu Jul 25, 2019 7:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us