Question 1. What Is Uni-rexx?
uni-REXX is a UNIX implementation of IBM's famous Rexx programming language as described by way of M. F. Cowlishaw inside the Rexx Language.
Question 2. For Which Platforms Is Uni-rexx Available?
uni-REXX is now available on SUN's Solaris 7/8/nine, H/P's HP/UX 10/11, IBM's AIX four/5, SGI's IRIX five/6, NCR UNIX, Linux Intel and S/390.
IBM - VSAM Interview Questions
Question three. What Would I Use Uni-rexx For?
uni-REXX can be used for a extensive variety of purposes. The most famous include:
automating system administration obligations.
Improvement of cease-person packages.
Speedy prototyping of compiled-language programs.
Uni-REXX also can be embedded as a scripting language or system-control language in different applications.
Question four. Can I Port My Existing Applications From The Mainframe Or Os/2? Will There Be Extensive Changes Required To Do This?
"Yes, you may port present packages with not less than change". Only the following modifications are generally required:
references to disk file names.
Statements in your software that execute working system instructions -- The exceptions are EXECIO and GLOBALV; uni-REXX has implemented those famous mainframe instructions and made them available from inside a uni-REXX software.
Portions of your software that stack facts to be used by means of some other, non-Rexx application after the Rexx application has finished execution -- Programs in UNIX run in character methods, and there's no concept of a chronic.
Stack to be had to all approaches. The adjustments required here are usually simple, and TWG Technical Support is to be had to provide guidance, tips, and sample solutions.
If your Rexx software is on the whole a chain of working device instructions, then it can not be an awesome candidate for direct portation. It may be, however, that the features it plays have reasonable opposite numbers in the UNIX surroundings and the program may be transformed to execute the equal UNIX features.
IBM DB2 Tutorial
Question five. What If I Need To Have The Same Application Running On Multiple Platforms, Such As Unix And The Mainframe? Does That Mean I Have To Maintain Two Separate Sources?
Not in any respect. Rexx consists of an education that lets in you to decide the environment in which your application is strolling. PARSE SOURCE will come up with a string in which the primary token is the name of the device wherein the program is strolling. For uni-REXX, this is "UNIX"; at the mainframe, it might be "CMS" or "TSO". Then you may put conditional processing into your application based totally on the cutting-edge execution environment. In a application that needed to display a cutting-edge listing of files, you would possibly set your master supply up something like this:
parse supply env:
when env = 'UNIX' then command = 'ls'
whilst env = 'CMS' then command = 'listf'
when env = 'TSO' then command = 'listc'
in any other case call OS_error_routine
: [ to do a list command, you write]>
command /* fee is sent to OS */
IBM DB2 Interview Questions
Question 6. Does Uni-rexx Give Me Any Capabilities Designed Specifically For The Unix Environment?
In addition to the standard language functions, uni-REXX consists of a wealthy set of capabilities designed especially for a UNIX environment. These capabilities can be classified into the following classes (with examples of every shown in parenthesis):
surroundings manage (CHDIR, GETENV, PUTENV, GETCWD, and so on).
File and directory control (_OPENDIR, _READDIR, _STAT, and so on).
Procedure control (_GETPID, _FORK, _WAIT, _KILL, and so forth).
Configuration management (_GETUID, _GETHOSTNAME, etc).
System mistakes processing (_ERRNO, _SYSERRLIST).
Everyday expression processing (_REGEX).
Interprocess communications (_SOCKET, _CONNECT, _SEND, _RECV, etc).
Question 7. Can I Combine Uni-rexx With A Compiled Language In My Application? What Application Programming Interfaces Are Available? For Example, Can I Share Variables Between Uni-rexx And A Compiled Language?
uni-REXX offers a complete set of Application Programming Interfaces (APIs). These APIs permit you to
start a Rexx program from the compiled language software.
Outline new host command environments for Rexx.
Access Rexx application variables.
Get right of entry to the Rexx software stack.
Specify user-furnished exits.
Terminate the Rexx software.
Upload person-defined functions that may be referred to as through the Rexx application.
COBOL Tutorial COBOL Interview Questions
Question 8. How To Access Data Held On The Jes Spool?
Held output (JES2 or JES3) can be captured by means of outtrapping the output of the following command:
"OUTPUT jobname PRINT(*) KEEP".
Use command HELP OUTPUT for more facts.
Furthermore there are output equipment you may buy like SDSF, IOF, (E)JES, and so forth. But now not all of these have got a rexx interface.
Question nine. How To Access Data In Control Blocks Such As Jobname?
Use the Storage() function to extract the records from manage blocks.
/* REXX Get taskname from TCB */
cvt = storage(10,four) /* FLCCVT-PSA facts area */
tcbp = garage(d2x(c2d(cvt)),four) /* CVTTCBP */
tcb = storage(d2x(c2d(tcbp)+4),four)
tiot = storage(d2x(c2d(tcb)+12),4) /* TCBTIO */
say strip(garage(d2x(c2d(tiot)),eight)) /* TIOCNJOB */
IBM-JCL Interview Questions
Question 10. Suppose If There Are A Set Of Statements And Each Has A Word "fee" In It, If I Want To Display All These Statements So That The Word "cost" Is Aligned, Then How Do I Code This In Rexx?
"ALLOC DD(INP1) DA('enter-dataset') SHR REUS"
"EXECIO * DISKR INP1 (STEM IN1. FINIS"
MAX_OFFSET = 0
INP_OFFSET = 0
DO I = 1 TO IN1.0
PARSE UPPER VAR IN1.I INP
INP_OFFSET = POS("VALUE",INP)
IF INP_OFFSET > MAX_OFFSET THEN
MAX_OFFSET = INP_OFFSET
DO I = 1 TO IN1.Zero
PARSE UPPER VAR IN1.I INP
Z = POS("VALUE",INP)
SAY LEFT(SUBSTR(IN1.I,1,(Z - 1)),(MAX_OFFSET - 1))eleven. How To Pass Parms To Ispf Edit Macro?
On the command line in the editor, simply use the name of the macro and list the parameters behind it. E.G. If you have a macro referred to as FINDALL and it expects three parameters you will specify inside the command line: FINDIT parm1 parm2 parm3.
When you code the MACRO the primary line must be like:
Address ISREDIT "MACRO (parm1 , parm2, parm3)"
Since you are operating with REXX you could have used:
Address ISREDIT "MACRO ( parm )"
You then parse the parm like this:
Parse (UPPER) Arg parm parm1 parm2 parm3.
IBM Mainframe Interview Questions
Question 12. Can I Cleanly Uninstall Oorexx?
IBM - VSAM Interview Questions
Question 13. Can I Redistribute Oorexx Freely With Commercial Software?
IBM Mainframe Tutorial
Question 14. Can Oorexx Run Ibm Object Rexx Programs?
Question 15. Can Oorexx Run Normal Rexx Programs?
IBM Cloud Computing Infrastructure Architect V1 Interview Questions
Question 16. Have You Already Used Rexx - Even For Limited Purposes? Do You Need To Maintain A High Level Of Productivity During Your Transition To Unix?
Further, uni-REXX could be very smooth to use, even if your preceding enjoy with it's miles restricted. The syntax is very natural (English-like); there are not any information types to declare; interpretive execution facilitates speedy development and debugging; and the interface to the running device is seamless.
Question 17. How Long Does The Install Of Oorexx Take?
30 seconds or much less, depending on your hardware.
IBM WebSphere MQ Interview Questions
Question 18. If I Have Limited Experience With Rexx Or It's Been A Long Time Since I've Used It, What Kind Of Help Is Available To Get Me Started?
uni-REXX comes with a pattern library that consists of a examples of a selection of utility types.
utilities for: date calculations and conversions printing on a faraway host growing new userids (AIX) strolling dbxw debugger on a method in some other window simulating the "which" command for UNIX implementations that do not have it printing a visual depiction of a listing shape.
Capabilities to: convert a gadget -unbiased filename into a neighborhood filename perform specialised string search add math capabilities to uni-REXX.
Filters to: uppercase all characters in an input move replace simulated field drawing (the usage of "real field drawing characters dispose of backspace characters from an input move beneficial for reformatting the output of a person web page for ASCII printing.
Illustrations of using the APIs to embed uni-REXX as a scripting language in compiled language programs.
Instance of the use of the UNIX-unique features for a client/server software.
IBM DB2 Interview Questions
Question 19. Is Oorexx Compatible With Ibm Object Rexx?
Question 20. Is Oorexx Compatible With Rexx?
IBM DataPower Interview Questions
Question 21. Is There An Aix Version Of Oorexx?
ooRexx for AIX is available starting with the three.1 launch.
Question 22. What Is The Difference Between Oorexx And Ibm's Object Rexx For Windows?
IBM's Object REXX changed into to be had in formats; an Interpreter Edition and a Development Edition. OoRexx might be available in one layout which is half way between the two IBM offerings. There will be no functional distinction between the Object REXX and ooRexx interpreters; code written for Object REXX will paintings with ooRexx.
Question 23. When Will A Port Of Oorexx To "xyz" Be Available?
Any POSIX-based, Unix-like platform is probable to already be available inside the supply distribution due to using the autoconf toolset. If now not, then support for the unique platform will need to be carried out in a destiny version of ooRexx.
Unix/Linux Interview Questions
Question 24. Why Is There No Os/2 (ecs) Port Of Oorexx?
The source code furnished to RexxLA changed into maintained by using one organization of IBM developers. The source code for OS/2 is maintained through a unique organization of IBM builders, and that source code base was not furnished to RexxLA. One of the future duties for this task is to port the Open Source code for ooRexx to OS/2.
COBOL Interview Questions