how are instream data terminated?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
What is multithreading in jcl?
If we want to see the eliminated duplicate record thru SORT, how its output file will be managed
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?
What is GDG and what is the maximum limit of versions that can be created?
what operation is performed by job statement?
Describe the DD statement, its meaning, syntax and keywords?
what is use of dcb parameter in dd statement?
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?