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

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

0 Answers   Mind Tree,


i'm getting error while editing macro, its not even entering into the macro, getting error like 31 *-* "EDIT DATASET('"DSN"("MEM")') MACRO("CHGLINE")" +++ RC(-3) +++ ? any idea why?

1 Answers  


is there an aix version of oorexx?

0 Answers   IBM,


Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?

0 Answers  


What are various loop types supported by rexx?

0 Answers  


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?

0 Answers  


How to run my rexx exec?

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??? I want code snippet or the coding for this , please

1 Answers  


can I redistribute oorexx freely with commercial software?

0 Answers   IBM,


How to code the db2 queries using rexx?

0 Answers  


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

0 Answers   IBM,


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??? I want code snippet or the coding for this , please

1 Answers  


Categories