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

Can anyone provide me the source code for LOC(lines of code) counter written in REXX language which can run on IBM mainframe z/OS V1R4. The LOC counter should be able to count the comments,lines of code,blank lines in a COBOL program and JCL's

1 Answers   Wipro,


I executed one job and I forget to save the final JCL. But took an XDC from SPOOL. Now I want to recover the JCL from XDC dataset. Is there any process to do this?. (Manually it takes a lot of time). Is there

1 Answers  


How to find or access the current level of a gdg?

1 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.

1 Answers  


can I port my existing applications from the mainframe or os/2? Will there be extensive changes required to do this?

1 Answers   IBM,


What is the difference between ooRexx and IBM's Object REXX for Windows?

1 Answers  


i want to code a rexx program in order to get the inputfile and output files of jcl. i want code snippet or the coding for this , please

1 Answers  


what is uni-rexx?

1 Answers   IBM,


How do I Run My Rexx Exec.?

2 Answers  


What are the various error conditions seen in rexx?

1 Answers  


What does the sample library of uni-rexx consist of?

1 Answers  


How do I access data held on the JES spool?

3 Answers   TCS,


Categories