I'm new to rexx. How to code rexx in jcl to read in a lpar
cpu usage file and select 1. date, time 2. some system
names 3. cpu usage for each system. The input file has
hourly reporting. The output file (CSV)is for excel use.
Run in batch mode. Output in FB.






I'm new to rexx. How to code rexx in jcl to read in a lpar cpu usage file and select 1. date,..

Answer / chandrakant sinha

to get the system time and date , u can use following code
time = time()
date = date()

Is This Answer Correct ?    5 Yes 3 No

Post New Answer




More REXX Interview Questions

What are the functions available in rexx?

0 Answers  


I want to set position for a particular text in a certain position in several of my cics maps.Please provide me with a solution. Ex: If "F1-Help" has to be set to pos(4,27) always in all the maps within a PDS.

0 Answers  


Suppose if there are a set of statements and each has a word “value” in it, if I want to display all these statements so that the word “value” is aligned, then how do I code this in rexx?

0 Answers  


why is there no os/2 (ecs) port of oorexx?

0 Answers   IBM,


What are the various error conditions seen in rexx?

0 Answers  






I want to code a REXX Program in order to load many tables in a database simultaneously in a batch fashion. Currently batch codes ar available in which only one job is submitted at a time and this loads only one table. My requirement is that many tables should be loaded at a time when one Job is submitted and can this be done using REXX Tool???

1 Answers  


for which platforms is uni-rexx available?

0 Answers   IBM,


can oorexx run normal rexx programs?

0 Answers   IBM,


How do I access data held on the JES spool?

3 Answers   TCS,


I have one input file and some 40 tables, I want to read input file and compare the input file value with the table value if it is present then we have to update with new value, this should be repeated for all 40 tables and we are reading only one input file, for this is there any REXX program or job or routine to accomplish above requirement. components of the requirements; 1. One input file 2. 40 DB2 tables 3. we have to read from the input file and compare with table value, if present then update with new value (this should be recurssive for all 40 tables for every record of input file). 4. quick help is appreciated.

0 Answers  


Is it possible to port existing applications from the mainframe or os/2? Are there major changes required to do this?

0 Answers  


If there are a set of statements and each has a word "value" in it, If I want to display all these statements so that the word "value" is aligned, then how do I code this in REXX. e.g - The value of X is Y. Wot is its value? Do u know its value? I want to know its value.

1 Answers  






Categories