My requirement is : How to populate a empty PS/flat file with
ONLY spaces in the first line. You should not use any input
dataset to do this. I'm not sure whether you may use any
utility for this purpose?
Answers were Sorted based on User's Feedback
Answer / walkin
Use a sort step with DISP=SHR and use OUTREC to put SPACES
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / abhijit18in2002
//ABCDEFGX JOB ,'SELCOPY ',
// CLASS=D,
// MSGCLASS=Q,NOTIFY=&SYSUID
//STEP01 EXEC PGM=SELCOPY,REGION=4096K
//STEPLIB DD DSN=SYS3.SELCOPY.LOAD,DISP=SHR
//INP1 DD DSN=BOND.UTIL.SAMP,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
OPTION W=1000
MOVE 80 AT 1 TO 100
WRITE F=INP1 FROM 100
/*
| Is This Answer Correct ? | 1 Yes | 5 No |
Explain about User Information
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
how to purge 50 initiators continuously?? console commands??
In one of intervie, my interviwer asked, I have a file which contains 4 records I would like to split the 4 different outputs for each record how to do?
14 Answers Cap Gemini, Cognizant, JPMorgan Chase, TCS, Xansa,
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
I have four steps in jcl they are STEP1,STEP2,STEP3 and STEP4. Can it possible to run the reverse order like step4 first then step3,step2,step1?
how to allocate a dynamic dataset in jcl ?
Explain the purpose of dd * statement in jcl?
Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?
List the different jcl statements that are not permitted in the procedures?
I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)
How to skip first step of a job? Can we use COND on the first step?