how are instream data terminated?

Answers were Sorted based on User's Feedback



how are instream data terminated?..

Answer / balmukund

Instream data termination in JCL can we done by /* after
SYSIN DD *. For example.

PGM1 EXEC PGM=PGM1
---
---
SYSIN DD *
istream data
/* termination of instream data.

Is This Answer Correct ?    10 Yes 2 No

how are instream data terminated?..

Answer / karthik

//Sysin DD *
Instream data
.
.
/*(end of instream data)

OR we can use DLM parameters
//Sysin DD data, dlm='xx'
Instream Data
/*
.
XX

Is This Answer Correct ?    3 Yes 0 No

how are instream data terminated?..

Answer / sanjayreddyguna

//sysin dd *
fh
h
hj
gh
/*------>this is delimiter for instrem data
OR
//sysin dd data,dlm=A
jhj
hl
kl
A----------->this is allso delimiter for instream data

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

how can i use the parameters decalred in main pgm in sub pgm

2 Answers   TCS,


how to identify a vasam dataset by seeing in 3.4(browse)

5 Answers   Cap Gemini,


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


how can handle the s0c4 abend???

3 Answers  


how to split a file

4 Answers   IBM,






A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

4 Answers   IBM,


How many positional parameters are there in job statement?

4 Answers  


Differentiate between the joblib and the steplib statements?

0 Answers  


wht is the d/f between positional parameter n keyword parameter ?

1 Answers  


What do you understand by the terms: joblib and steplib?

0 Answers  


Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 Answers  


I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.

5 Answers   Bank Of America,


Categories