Hi Guyz,
My requirement is to empty out a PS file but not to delete.
How would I do that. Is there any Utility. If any other
way, plz answer. Thanks.
Answer Posted / mithun suresh
Pushpa, I created a PS with FBA and put some recs in and
ran the same above JCL. To me it worked. Have u checked
what error u r getting. Try the below stuff with SORT util.
//STEP01 EXEC PGM=SORT
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=USERID.DATASET,DISP=SHR
//SORTOUT DD DSN=USERID.DATASET,DISP=SHR
//SYSIN DD *
SORT FIELDS=COPY,STOPAFT=0
Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
How can unused space allocation be returned to the system when a dataset is closed?
What statement can be used to send data to another mvs jes3 node?
In job processing, what happens in conversion stage?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
Explain how can return codes be tested before execution of a job step?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
write a jcl to execute a job by 7:00 am on jan 20,1986?
what JCL Procedures?
How to submit a jcl from cics?
What is the use of symbol // in jcl?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?