are there any useful c runtime apis that I can call from rpg iv?



are there any useful c runtime apis that I can call from rpg iv?..

Answer / Vaibhav Tripathi

Yes, you can call some C Runtime Libraries (CRT) functions from RPG IV using the %CHAR(C) data type. The CRT APIs are available through the QCCSCTL Library Service Program. Be aware of any limitations and compatibility issues.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?

1 Answers  


Suppose I have 3 jobs a b and c. I want to submit b after successful completion of a and want to submit c after successful completion of b. Without using job scheduler or job queue, how can I do that through cl program?

1 Answers  


Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?

4 Answers  


what is estimation? and what is the level identifier parameter in PF?

3 Answers   TCS,


How do I link an existing logical file to it's Physical File without recompiling?

2 Answers  


1.How to load Records of a Physical file(PF) in the reverse order, in CL program?

2 Answers   Cap Gemini,


we are sending data of physical file to screen design and it is showing no record why?

1 Answers   NTT Data,


without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?

3 Answers   HSBC, TCS,


How do you find whether a record is locked or not?

2 Answers  


how to retrieve RRN value in RPGLE program

3 Answers  


what is the procedure and explain about real time scenario.

1 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS

3 Answers   IBM,


Categories