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 |
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
what is the alternative to model parameter?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
What are the jcl procedures?
Why we will create load module in PDS only, Why nt in PS?
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
How can you trap abends in the JCL?
What is STEPLIB, JOBLIB? What is it used for?
what is the difference between JES3 and JES2?
Name the system library from which modules are retrieved at execution
As PARM can supply information to a program ? Can PARM be used to supply information to a cataloged or Inline Procedure also ?
Explain the hierarchy levels in jcl?