how will you define vsam file in select clause?
Answers were Sorted based on User's Feedback
Answer / snehatechm
select xxxx assign to dd1
organization is indexed
access is dynamic
record key is vsam-key
file status is file-status vsam-code.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / adarsh562
select file-name assign to dd-name
organization is indexed
access mode is sequential
record key is key-name
file status is fs-code.
| Is This Answer Correct ? | 2 Yes | 0 No |
select file-name assign to A-ddname
organization is indexed
access mode is sequential
record key is key-name
file status is fs-code.
| Is This Answer Correct ? | 0 Yes | 0 No |
In EBCDIC, how would the number 1234 be stored?
how we can edit records in vsam data set and non vsam data sets
if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.
i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?
Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.
what is the difference between external and global variables?
how to code in cobol while using variable block file?
perform I from 0 by 1 until I=5?How maney times it will executes
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
can you declare redefine in level 01?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.