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 |
if time parameter is not coded on the job card and job step then what is the default time assigned to the entire job and for each step in the job by the systyem ?
Explain dfsort utility?
how many members can be created inside a single pds?
how to concatenate datasets
proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code
read all error codes like SB07?
Explain how can a jobs execution priority be modified?
If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job
What parameters can be used to limit the number of records written to a sysout dataset?
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
how you can direct the data to spool using SYSOUT option?
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.