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


Please Help Members By Posting Answers For Below Questions

What is timing concept in mainframe?

1652


how to compare two datasets without using superce because output is limited to 133 bytes

1476


how do you access an uncataloged dataset in a jcl?

823


What happens if both JOBLIB & STEPLIB is specified ?

601


How to submit a jcl from cics?

656






What are the 2 types of parameters in dd statement?

637


define cond parameter in jcl?

765


what are the statements that are not valid to be included in an include statement?

769


write a jcl to execute a job by 7:00 am on jan 20,1986?

687


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?

812


Define concatenating?

656


Explain about LMQUERY�give a dialog information about a data set

894


Is their any set of rules for dd? Explain.

651


What is the purpose of the dd keylen parameter?

712


What does a disposition of (MOD,DELETE,DELETE) mean ?

658