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?
Answer Posted / 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 |
Post New Answer View All Answers
What is timing concept in mainframe?
how to compare two datasets without using superce because output is limited to 133 bytes
how do you access an uncataloged dataset in a jcl?
What happens if both JOBLIB & STEPLIB is specified ?
How to submit a jcl from cics?
What are the 2 types of parameters in dd statement?
define cond parameter in jcl?
what are the statements that are not valid to be included in an include statement?
write a jcl to execute a job by 7:00 am on jan 20,1986?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
Define concatenating?
Explain about LMQUERY�give a dialog information about a data set
Is their any set of rules for dd? Explain.
What is the purpose of the dd keylen parameter?
What does a disposition of (MOD,DELETE,DELETE) mean ?