---
title: "CICS: CEMT, CECI, CEBR Commands Part(2 of 3)"
description: "Here is when to use CEMT, CECI and CEBR commands in CICS. https://srinimf.com/2017/01/17/9-the-best-cics-transactions-mostly-used-in-all-projects/. CEMT, CECI and CEBR Commands. CEMT lets you display..."
url: https://srinimf.com/2015/07/29/cics-cemt-ceci-cebr-commands-part2-of-3/
date: 2015-07-29
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2015/07/pexels-photo-5490586.jpeg?fit=1880%2C1254&ssl=1
categories: ["CICS Tips"]
tags: ["CICS tips and Tricks"]
type: post
lang: en
---

# CICS: CEMT, CECI, CEBR Commands Part(2 of 3)

Here is when to use CEMT, CECI and CEBR commands in CICS.

Related[9 CICS Built-in Transactions: How to Use Them](https://srinimf.com/2017/01/17/9-the-best-cics-transactions-mostly-used-in-all-projects/)

## CEMT, CECI and CEBR Commands

CEMT lets you display and change the status of resources, including programs, transactions, data sets, queues, and terminals.

Related[2 Top Ways of Browsing CICS Error Logs](https://srinimf.com/2013/03/06/cics-routing-error-logs-to-batch-job/)

You’ll use CEMT in a CICS test environment often to refresh a copy of a program, allocate and deallocate a file, or just inquire on the status of a given resource. In addition, you use CEMT to shut down a CICS system.

[CICS: CEBR, CEMT, CECI Commands -Part-1](http://srinimf.com/2013/02/23/cics-cebr-commands-part1-of-3/)

To invoke CEMT, you enter the trans-id** CEMT** with or without a command. Once you’ve started CEMT, you can enter commands in the command line (at the top of the display) or you can overtype data directly on the data display.

If you don’t enter complete information for a CEMT command, CEMT prompts you for the additional information, showing all of the valid choices.

You can abbreviate any CEMT command option with as few characters as are required to make the abbreviation unique within the context. For the keyword PERFORM, for example, you can enter P, PE, PER, PERF, and so on. However, if another keyword at the same level begins with the letter P, you would have to use at least two letters in the abbreviation.

The three basic [CEMT commands](https://srinimf.com/2013/03/04/cics-cemt-commands-3-of-3/) you’re likely to use are INQUIRE (usually abbreviated INQ), SET, and PERFORM.

**INQIRE Command**

[CEMT INQUIRE](https://srinimf.com/2014/05/10/cemt-inquire-transaction/) FILE [(name)]

PROGRAM [(name)]

QUEUE [(name)]

TASK [(number)]

TERMINAL [(term-id)]

TRANSACTION [(trans-id)]

**SET Command**

[CEMT SET](https://srinimf.com/2021/05/31/cics-cemt-resources-that-you-can-change-status/) FILE(name)

{ ENABLED | DISABLED }

{ OPEN | CLOSED }

CEMT SET PROGRAM(name)

{ ENABLED | DISABLED }

[ NEWCOPY ]

[ DPLSUBSET ]

CEMT SET QUEUE(name)

{ ENABLED | DISABLED }

{ OPEN | CLOSED }

[ TRIGGER(number) ]

CEMT SET TASK(number)

{ PURGE | FORCEPURGE }

CEMT SET TERMINAL(term-id)

{ INSERVICE | OUTSERVICE }

{ PURGE | FORCEPURGE }

{ PAGEABLE | AUTOPAGEABLE }

{ ATI | NOAT

**SHUTDOWN Command**

CEMT PERFORM SHUTDOWN [ IMMEDIATE ]

Keep Reading

- [CICS-CEMT Commands (3 of 3)](https://srinimf.com/2013/03/04/cics-cemt-commands-3-of-3/)DateMarch 4, 2013
- [9 CICS Built-in Transactions: How to Use Them](https://srinimf.com/2017/01/17/9-the-best-cics-transactions-mostly-used-in-all-projects/)DateJanuary 17, 2017
- [How to Use CEMT in CICS to Close a File](https://srinimf.com/2014/12/02/cemt-use-for-closing-file/)DateDecember 2, 2014

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2015%2F07%2F29%2Fcics-cemt-ceci-cebr-commands-part2-of-3%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2015%2F07%2Fpexels-photo-5490586.jpeg%3Ffit%3D1200%252C800%26ssl%3D1&description=CICS%3A%20CEMT%2C%20CECI%2C%20CEBR%20Commands%20Part%282%20of%203%29)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2015/07/29/cics-cemt-ceci-cebr-commands-part2-of-3/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2015/07/29/cics-cemt-ceci-cebr-commands-part2-of-3/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2015/07/29/cics-cemt-ceci-cebr-commands-part2-of-3/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2015/07/29/cics-cemt-ceci-cebr-commands-part2-of-3/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20CICS%3A%20CEMT%2C%20CECI%2C%20CEBR%20Commands%20Part%282%20of%203%29&body=https%3A%2F%2Fsrinimf.com%2F2015%2F07%2F29%2Fcics-cemt-ceci-cebr-commands-part2-of-3%2F&share=email)
-

### Like this:

Like Loading…
