how to create a member or sequential dataset through tso
command??

Answers were Sorted based on User's Feedback



how to create a member or sequential dataset through tso command??..

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

how to create a member or sequential dataset through tso command??..

Answer / bella

try this :

DSORG PS RECFM U BLKSIZE 1,944 LRECL 0

Is This Answer Correct ?    5 Yes 3 No

how to create a member or sequential dataset through tso command??..

Answer / nk

TSO ALLOC DD(INFILE) DA(XXX.YYY.ZZZZ) SHR

Is This Answer Correct ?    4 Yes 5 No

how to create a member or sequential dataset through tso command??..

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

Post New Answer

More JCL Interview Questions

How is the record format of an output dataset specified?

0 Answers  


what operation is performed by job statement?

0 Answers   IBM,


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.

0 Answers  


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)

1 Answers   MSN Pharma, UST,


File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3

7 Answers  


is there any utility for restarting a particular step in jcl reply soon ?

5 Answers  


What is the use of symbol // in jcl?

0 Answers  


which are the parameters mandatory in job card ?

4 Answers   Accenture,


can we modify the code in copy book? if it possible how to submit ofter the modification.

3 Answers   IBM, L&T,


What u mean by include statement in JCL ?

3 Answers  


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.

0 Answers  


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

1 Answers   IBM, TCS,


Categories