how to create a member or sequential dataset through tso
command??
Answers were Sorted based on User's Feedback
Answer / ram.g
i have tried this ..but its creating a dataset(seq) with
invalid block size...how to mention blksize in that command
and
how to create pds memeber thru tso command..
Is This Answer Correct ? | 5 Yes | 3 No |
Answer / bella
try this :
DSORG PS RECFM U BLKSIZE 1,944 LRECL 0
Is This Answer Correct ? | 5 Yes | 3 No |
Answer / siddharth
The name that you want to give the new data set: CSYP760.NEW.DATA
The name of the model data set:CSYP760.MODEL.DATA
alloc da(new.data) like(model.data)
alloc da(new.data) dsorg(ps) space(2,0) tracks lrecl(80) + blksize(8000) recfm(f,b) new
Is This Answer Correct ? | 0 Yes | 1 No |
How is the record format of an output dataset specified?
what operation is performed by job statement?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
HOw to submit a job from other user id.? for exp some other job name like "t4622sdx".now i want to submit that job from my user id?(we don't know that location at all Just we know job name)
File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3
is there any utility for restarting a particular step in jcl reply soon ?
What is the use of symbol // in jcl?
which are the parameters mandatory in job card ?
can we modify the code in copy book? if it possible how to submit ofter the modification.
What u mean by include statement in JCL ?
I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.
i have a ps with two columns eno and ename , i need to copy eno column values in one ps and ename column values in one Ps ? is it possible through iebgener . how ? thx in advance