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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to code the db2 queries using rexx?

585


I just know the Panvalet dataset name, i would like to search all the members of that dataset for particular keyword through Rexx. how to achive? please suggest. Is it possible to open panvalet member in browse mode using Rexx? Your help would be appreciated very much. Thanks in advance.

5135


how to access data held on the jes spool?

662


is there an aix version of oorexx?

566


Enlist the features of rexx as a programming language.

625






how long does the install of oorexx take?

571


Suppose 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?

529


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

2105


Can I cleanly uninstall oorexx?

583


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?

523


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

2682


What are the functions available in rexx?

532


I want to open particular list of members inside pds.Let me know whether below code will work.if not tell me how it works INPUT='DDM.DATASET(AAA*)' X = OUTTRAP(MEMS.)

2792


What are the various error conditions seen in rexx?

537


how to access data in control blocks such as jobname?

581