First I would like to say thanks to Tom for always helping.
Info: I performed a wrkactjob job(joblog*) and created a spool file based on the results, then I copied that to a pf file call myfile (all within a CLP). I would like to end the jobs that show up in myfile, but im a little lost again. I know what I would like my last command to be ENDJOB JOB(&NBR/&USER/&JOB) but its the getting to that point that i can not wrap my head around. How do I retrieve the information I need from myfile. by rcvf? or some other means. I would like to keep all this within one cl. below is a draft of this spool file. As you can see there is more data then what im looking for. All I need is the job number, user and job.
Browse : MYLIB/MYFILE(MYFILE) Record : 1 of 17 by 18 Column : 1 132 by 131 Control : ....+....1....+....2....+....3....+....4....+....5....+........ ************Beginning of data************** 5722SS1 V5R4M0 060210 Work with Active Jobs Reset . . . . . . . . . . . . . . . : *NO Subsystems . . . . . . . . . . : QALLWRK CPU Percent Limit . . . . . . : *NONE Response Time Limit . . . . : *NONE Sequence . . . . . . . . . . .. : *SBS Job name . . . . . . . . . . . : JOBLOG* Subsystem/Job User Number User Type Pool.... JOBLOG01 USER1 000001 USER1 BCH 2 ..... JOBLOG02 USER2 000002 USER2 BCH 2 ..... JOBLOG03 USER3 000003 USER3 BCH 2 ..... JOBLOG04 USER4 000004 USER4 BCH 2 ..... JOBLOG05 USER5 000005 USER5 bCH 2 ..... JOBLOG06 USER6 000006 USER6 BCH 2 ..... * * * * * E N D O F L I S T I N G * * * * * ************End of Data********************
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:firstname.lastname@example.org
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: